DotMatrixDisplay » History » Version 2
Frédéric Blanc, 2020-03-25 22:21
1 | 1 | Frédéric Blanc | h1. DotMatrixDisplay |
---|---|---|---|
2 | |||
3 | h2. Hardware |
||
4 | |||
5 | https://majicdesigns.github.io/MD_MAX72XX/page_f_c16.html |
||
6 | |||
7 | // ESP8266 PIN configuration |
||
8 | #define HARDWARE_TYPE MD_MAX72XX::FC16_HW //PAROLA_HW GENERIC_HW ICSTATION_HW |
||
9 | #define CLK_PIN D5 // Matrix CLK |
||
10 | #define DATA_PIN D7 // Matrix DIN |
||
11 | #define CS_PIN D6 // Matrix DS |
||
12 | |||
13 | h2. MQTT |
||
14 | |||
15 | 2 | Frédéric Blanc | topic: DotMatrixDisplay/message |
16 | |||
17 | 1 | Frédéric Blanc | {"text":"ABC°€", |
18 | "priorite":0, |
||
19 | "lum":1, |
||
20 | "pos":2, |
||
21 | "eff_in":9, |
||
22 | "eff_out":9, |
||
23 | "speed":1000, |
||
24 | "pause":100} |