Připojení k Arduinu
| Pin SCD5583A | Název pinu SCD5583A | Pin Arduino |
|---|---|---|
| 1 | SDCLK | D2 |
| 2 | LOAD | D4 |
| 13 | RST | – |
| 14 | GND | GND |
| 15 | CLK I/O | – |
| 16 | CLKSEL | – |
| 18 | NC | – |
| 19 | Vcc | +5V |
| 27 | DATA | D3 |
| 28 | GND | GND |
Zdrojový kód pro Arduino
#include <5x5MatrixLIB.h> // Modified see download
MatrixLIB Disp(2,3,4); //SDCLK DATA LOAD
void setup()
{
Disp.begin();
delay(500);
Disp.setBrightness(100);
Disp.clear();
}
void loop()
{
Disp.writeStringScrolling(" *** SCD5583A DEMO *** MORE DISPLAYS ON CTVRTKY.INFO/SBIRKA-DISPLEJU-LED ",300);
delay(200);
}