Berat | 0.05 kg |
---|
Modul Dot Matrix 4x 4 32×8 8×32 Max7219 Running Text Display Module
Rp56,900
+ Free ShippingModule Led Dot Matrix 3×8 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.
Arduino sketch example:
#include SPI.h
#include Adafruit_GFX.h
#include Max72xxPanel.h
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;
Max72xxPanel matrix = Max72xxPanel(pinCS, numberOfHorizontalDisplays, numberOfVerticalDisplays);
String tape = “Ayo belajar Arduino”;
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 = 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);
Ketersediaan: Stok 10
Ulasan
Belum ada ulasan.