Project

General

Profile

DotMatrixDisplay » History » Version 3

Frédéric Blanc, 2020-03-25 22:29

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}
25 3 Frédéric Blanc
26
{"text":"Bonjour tous le monde",
27
"priorite":0,
28
"lum":1,
29
"pos":1,
30
"eff_in":1,
31
"eff_out":9,
32
"speed":50,
33
"pause":100}