DotMatrixDisplay » History » Version 5
Frédéric Blanc, 2020-03-26 10:42
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 | 4 | Frédéric Blanc | h2. Software |
14 | |||
15 | code exemple |
||
16 | http://sarakha63-domotique.fr/afficheur-led-matrixled-jeedom/ |
||
17 | |||
18 | https://github.com/MajicDesigns/MD_Parola |
||
19 | |||
20 | 5 | Frédéric Blanc | version light |
21 | |||
22 | document:"code light DotMatrixDisplay" |
||
23 | |||
24 | 1 | Frédéric Blanc | h2. MQTT |
25 | |||
26 | 2 | Frédéric Blanc | topic: DotMatrixDisplay/message |
27 | |||
28 | 1 | Frédéric Blanc | {"text":"ABC°€", |
29 | "priorite":0, |
||
30 | "lum":1, |
||
31 | "pos":2, |
||
32 | "eff_in":9, |
||
33 | "eff_out":9, |
||
34 | "speed":1000, |
||
35 | "pause":100} |
||
36 | 3 | Frédéric Blanc | |
37 | {"text":"Bonjour tous le monde", |
||
38 | "priorite":0, |
||
39 | "lum":1, |
||
40 | "pos":1, |
||
41 | "eff_in":1, |
||
42 | "eff_out":9, |
||
43 | "speed":50, |
||
44 | "pause":100} |