Your position: Home / Display / Dot matrix

Keyestudio Red color common cathode I2C 8*8 LED dot Matrix module HT16K33 for arduino

KS0064
Price:
Wholesale:
5+
$5.22
    Please select the information you wantX
Quantity:
-
+
(928 available)
Shipping Cost:
to
Estimated Delivery Time:
Please select the country you want to ship from
  • Description
  • Reviews(75)

 

KS0064  8-8 (2)(1)KS0064  8-8 (4)KS0064  8-8 (1)(1)KS0064  8-8 (2)KS0064  8-8 (3)KS0064  8-8 (3)(1)

KS0064  8-8 (5)
 
Sample code:
#include
#include "Adafruit_LEDBackpack.h"
#include "Adafruit_GFX.h"
#ifndef _BV
#define _BV(bit) (1<<(bit))
#endif
Adafruit_LEDBackpack matrix = Adafruit_LEDBackpack();
uint8_t counter = 0;
void setup() {
Serial.begin(9600);
Serial.println("HT16K33 test");
matrix.begin(0x70); // pass in the address
}
void loop() {
// paint one LED per row. The HT16K33 internal memory looks like
// a 8x16 bit matrix (8 rows, 16 columns)
for (uint8_t i=0; i<8; i++) {
// draw a diagonal row of pixels
matrix.displaybuffer[i] = _BV((counter+i) % 16) | _BV((counter+i+8) % 16) ;
}
// write the changes we just made to the display
matrix.writeDisplay();
delay(100);
counter++;
if (counter >= 16) counter = 0;
}
 
dot Matrix size: 3.2*3.2cm
 
 

 

Average rating: 4.0 based on 75 reviews
Share your thoughts with other customers
Write a review
Product reviews can be carried out after the member login, please click here to login