Připojení k Arduinu
Pin SCDV5544 | Název pinu SCDV5544 | Pin Arduino |
---|---|---|
1 | SDCLK | D2 |
2 | LOAD | D4 |
3 | NP | – |
4 | NP | – |
5 | NP | – |
6 | RST | – |
7 | GND | GND |
8 | CLK I/O | +5V |
9 | CLKSEL | +5V |
10 | Vcc | +5V |
11 | Vcc | +5V |
12 | Vcc | +5V |
13 | DATA | D3 |
14 | GND | GND |
Zdrojový kód pro Arduino
// Library: https://github.com/TiNredmc/5x5MatrixLIB #include <5x5MatrixLIB.h> MatrixLIB Disp(2,3,4); //SDCLK DATA LOAD void setup() { Disp.begin(); delay(500); Disp.setBrightness(100); Disp.clear(); } void loop() { Disp.writeStringScrolling("DEMO SCDV5544",300); delay(200); }