DotMatrixDisplay » History » Version 4
Frédéric Blanc, 2020-03-26 10:04
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 | 1 | Frédéric Blanc | h2. MQTT |
21 | |||
22 | 2 | Frédéric Blanc | topic: DotMatrixDisplay/message |
23 | |||
24 | 1 | Frédéric Blanc | {"text":"ABC°€", |
25 | "priorite":0, |
||
26 | "lum":1, |
||
27 | "pos":2, |
||
28 | "eff_in":9, |
||
29 | "eff_out":9, |
||
30 | "speed":1000, |
||
31 | "pause":100} |
||
32 | 3 | Frédéric Blanc | |
33 | {"text":"Bonjour tous le monde", |
||
34 | "priorite":0, |
||
35 | "lum":1, |
||
36 | "pos":1, |
||
37 | "eff_in":1, |
||
38 | "eff_out":9, |
||
39 | "speed":50, |
||
40 | "pause":100} |