Detail Module Led Dot Matrix 32x8 Display with Max7219 for Arduino
Module Led Dot Matrix 8x8 Display with Max7219 for Arduino
Description: 1 single module can drive an 8 * 8 dot matrix common cathode 2 module Operating voltage: 5V 3 Module dimensions: length 12.8 cm X 3.2 cm wide X 1.3 cm high 4 holes with screws, diameter 3mm 5 modules with input and output interfaces, support for cascading multiple modules.
int pinCS = 10; // Attach CS to this pin, DIN to MOSI and CLK to SCK (cf http://arduinocc/en/Reference/SPI ) int numberOfHorizontalDisplays = 1; int numberOfVerticalDisplays = 4;
String tape = "Ayo belajar Arduino bersama DA Electronics"; int wait = 50; // In milliseconds
int spacer = 1; int width = 5 + spacer; // The font width is 5 pixels
void setup() {
matrix.setIntensity(7); // Use a value between 0 and 15 for brightness
// Adjust to your own needs matrix.setRotation(matrix.getRotation() + 1 ); // The first display is position upside down // matrix.setRotation(1, 1); // The first display is position upside down }
void loop() {
for ( int i = 0 ; i < width * tape.length() + matrix.width() - 1 - spacer; i++ ) {
matrix.fillScreen(LOW);
int letter = i / width; int x = (matrix.width() - 1) - i % width; int y = (matrix.height() - 8) / 2; // center the text vertically
while ( x + width - spacer >= 0 && letter >= 0 ) { if ( letter < tape.length() ) { matrix.drawChar(x, y, tape[letter], HIGH, LOW, 1); }
letter--; x -= width; }
matrix.write(); // Send bitmap to display
delay(wait);
Gambar produk
Module Led Dot Matrix 32x8 Display with Max7219 for ArduinoModule Led Dot Matrix 32x8 Display with Max7219 for ArduinoModule Led Dot Matrix 32x8 Display with Max7219 for ArduinoModule Led Dot Matrix 32x8 Display with Max7219 for Arduino