node-red-contrib-periph-display 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -12
- package/examples/il0373/demo.json +18 -12
- package/examples/pcf8576/demo.json +2 -2
- package/examples/pcf8578/demo.json +2 -2
- package/examples/pcf8579/demo.json +2 -2
- package/examples/sh1106/demo.json +15 -7
- package/examples/ssd1305/demo.json +15 -7
- package/examples/ssd1306/demo.json +14 -7
- package/examples/ssd1331/demo.json +14 -8
- package/examples/st7036/demo.json +15 -9
- package/examples/uc1611s/demo.json +77 -20
- package/examples/uc8159/demo.json +16 -10
- package/examples/uc8276c/demo.json +18 -12
- package/nodes/il0373/il0373.html +58 -32
- package/nodes/il0373/il0373.js +16 -9
- package/nodes/pcf8576/pcf8576.html +3 -3
- package/nodes/pcf8576/pcf8576.js +1 -1
- package/nodes/pcf8578/pcf8578.html +3 -3
- package/nodes/pcf8578/pcf8578.js +1 -1
- package/nodes/pcf8579/pcf8579.html +3 -3
- package/nodes/pcf8579/pcf8579.js +1 -1
- package/nodes/sh1106/sh1106.html +62 -36
- package/nodes/sh1106/sh1106.js +20 -11
- package/nodes/ssd1305/ssd1305.html +62 -36
- package/nodes/ssd1305/ssd1305.js +20 -11
- package/nodes/ssd1306/ssd1306.html +62 -36
- package/nodes/ssd1306/ssd1306.js +18 -11
- package/nodes/ssd1331/ssd1331.html +49 -23
- package/nodes/ssd1331/ssd1331.js +16 -9
- package/nodes/st7036/st7036.html +51 -25
- package/nodes/st7036/st7036.js +15 -9
- package/nodes/uc1611s/uc1611s.html +64 -38
- package/nodes/uc1611s/uc1611s.js +21 -12
- package/nodes/uc8159/uc8159.html +55 -29
- package/nodes/uc8159/uc8159.js +16 -9
- package/nodes/uc8276c/uc8276c.html +58 -32
- package/nodes/uc8276c/uc8276c.js +16 -9
- package/package.json +1 -1
- package/index.js +0 -11
package/README.md
CHANGED
|
@@ -16,21 +16,30 @@ npm install node-red-contrib-periph-display
|
|
|
16
16
|
|
|
17
17
|
| Node | Kind | Description |
|
|
18
18
|
|------|------|-------------|
|
|
19
|
-
| `
|
|
19
|
+
| `il0373-device` | config | SPI bus and device index for an IL0373 |
|
|
20
|
+
| `il0373` | input | Draws on an IL0373 black/white e-paper panel (104 x 212, e.g. Waveshare 2.13inch e-Paper (D)) over SPI. Drawing messages change the framebuffer only; show sends it and refreshes the panel, which blocks the node until the controller is ready again. |
|
|
20
21
|
| `pcf8576-device` | config | I²C bus and address for a PCF8576 |
|
|
21
|
-
| `
|
|
22
|
+
| `pcf8576` | input | Writes 7-segment digits or raw data to a PCF8576 40x4 universal LCD segment driver over I²C. The chip is write-only; any incoming message triggers a single write to display RAM. |
|
|
22
23
|
| `pcf8578-device` | config | I²C bus and address for a PCF8578 |
|
|
23
|
-
| `
|
|
24
|
+
| `pcf8578` | input | Draws on a PCF8578 row/column LCD dot-matrix driver over I²C (stand-alone mixed mode). Any incoming message triggers the writes described below. The device is configured via a pcf8578-device config node. |
|
|
24
25
|
| `pcf8579-device` | config | I²C bus and address for a PCF8579 |
|
|
25
|
-
| `
|
|
26
|
-
| `
|
|
27
|
-
| `
|
|
28
|
-
| `
|
|
29
|
-
| `
|
|
30
|
-
| `
|
|
31
|
-
| `
|
|
32
|
-
| `
|
|
33
|
-
| `
|
|
26
|
+
| `pcf8579` | input | Draws into the display RAM of a PCF8579 LCD column driver over I²C. The PCF8579 cannot run alone: a PCF8578 (or an equivalent source) must supply the clock, frame sync and row waveforms. Any incoming message triggers the writes described below. The device is configured via a pcf8579-device config node. |
|
|
27
|
+
| `sh1106-device` | config | I²C bus and address for a SH1106 |
|
|
28
|
+
| `sh1106` | input | Draws on an SH1106 monochrome OLED (132 x 64 RAM, typically a 1.3" 128 x 64 module) over I2C ( 0x3C / 0x3D ) or 4-wire SPI. On SPI the node needs the SPI bus / chip-select device and the GPIO lines for D/C and RES; payload.status is not available. 128-pixel-wide modules show RAM columns 2..129, hence the default column offset of 2 (use 0 for a true 132-column panel). |
|
|
29
|
+
| `ssd1305-device` | config | I²C bus and address for a SSD1305 |
|
|
30
|
+
| `ssd1305` | input | Draws on an SSD1305 monochrome OLED (132 x 64 RAM, typically a 1.3" 128 x 64 module) over I2C ( 0x3C / 0x3D ) or 4-wire SPI. On SPI the node needs the SPI bus / chip-select device and the GPIO lines for D/C and RES; payload.status is not available. 128-pixel-wide modules usually show RAM columns 4..131, hence the default column offset of 4 (use 0 for a true 132-column panel, 2 for some panels). |
|
|
31
|
+
| `ssd1306-device` | config | I²C bus and address for a SSD1306 |
|
|
32
|
+
| `ssd1306` | output | Draws on an SSD1306 monochrome OLED (128 x 64 RAM, typically a 0.96" 128 x 64 or 128 x 32 module) over I2C ( 0x3C / 0x3D ) or 4-wire SPI. On SPI the node needs the SPI bus / chip-select device and the GPIO lines for D/C and RES. The chip cannot be read, so there is no status output. External VCC keeps the internal charge pump off for boards that supply the OLED voltage themselves. |
|
|
33
|
+
| `ssd1331-device` | config | SPI bus and device index for a SSD1331 |
|
|
34
|
+
| `ssd1331` | input | Draws on an SSD1331 96 x 64 RGB OLED (e.g. Waveshare 0.95inch RGB OLED) over SPI. The chip has no BUSY line. Drawing messages change the framebuffer only; show sends it to the display. The hw* messages use the controller's own drawing engine on the display RAM. |
|
|
35
|
+
| `st7036-device` | config | SPI bus and device index for a ST7036 |
|
|
36
|
+
| `st7036` | output | Writes text on an ST7036 character LCD (EA DOGM081 / DOGM162 / DOGM163) in 4-wire serial mode over SPI. The serial mode is write-only; the chip has no BUSY line. Strapping: PSB = GND, E = 3V3, booster capacitors for 3.3 V. |
|
|
37
|
+
| `uc1611s-device` | config | I²C bus and address for an UC1611S |
|
|
38
|
+
| `uc1611s` | input | Draws on a UC1611s graphic LCD (EA DOGXL240-7, 240 x 128, black/white) over I2C or 4-wire SPI. On I2C the chip has two addresses, command ( 0x38 + 2n ) and data (one higher); the node opens both. On SPI the node needs the SPI bus / chip-select device and the GPIO lines for CD (D/C) and RST; the module must be strapped for 4-wire SPI (BM0 = D13 = VSS), and payload.status is not available. The module runs from 3.3 V only. |
|
|
39
|
+
| `uc8159-device` | config | SPI bus and device index for an UC8159 |
|
|
40
|
+
| `uc8159` | input | Draws on a UC8159 seven-colour e-paper panel (600 x 448, e.g. Waveshare 5.65inch e-Paper (F)) over SPI. Drawing messages change the framebuffer only; show sends it and refreshes the panel, which blocks the node for about 30 seconds. |
|
|
41
|
+
| `uc8276c-device` | config | SPI bus and device index for an UC8276C |
|
|
42
|
+
| `uc8276c` | input | Draws on a UC8276C black/white/red e-paper panel (400 x 300, e.g. Waveshare 4.2inch e-Paper (B)) over SPI. Drawing messages change the framebuffer only; show sends it and refreshes the panel, which blocks the node for about 17 seconds. |
|
|
34
43
|
|
|
35
44
|
## Links
|
|
36
45
|
|
|
@@ -45,28 +45,34 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"id": "
|
|
49
|
-
"type": "
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"spiBus": "0",
|
|
53
|
-
"spiDevice": "0",
|
|
48
|
+
"id": "il0373-device-1",
|
|
49
|
+
"type": "il0373-device",
|
|
50
|
+
"name": "IL0373",
|
|
51
|
+
"busyTimeout": "30000",
|
|
54
52
|
"gpioChip": "0",
|
|
55
|
-
"
|
|
53
|
+
"spiBus": "0",
|
|
54
|
+
"height": "300",
|
|
56
55
|
"resPin": "17",
|
|
57
|
-
"busyPin": "24",
|
|
58
|
-
"wireMode": "simplex",
|
|
59
56
|
"width": "400",
|
|
60
|
-
"
|
|
61
|
-
"busyTimeout": "30000",
|
|
57
|
+
"busyPin": "24",
|
|
62
58
|
"autoShow": false,
|
|
59
|
+
"dcPin": "25",
|
|
60
|
+
"wireMode": "simplex",
|
|
61
|
+
"spiDevice": "0"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "il0373_node",
|
|
65
|
+
"type": "il0373",
|
|
66
|
+
"z": "il0373_tab",
|
|
67
|
+
"name": "",
|
|
63
68
|
"x": 590,
|
|
64
69
|
"y": 100,
|
|
65
70
|
"wires": [
|
|
66
71
|
[
|
|
67
72
|
"il0373_updated"
|
|
68
73
|
]
|
|
69
|
-
]
|
|
74
|
+
],
|
|
75
|
+
"device": "il0373-device-1"
|
|
70
76
|
},
|
|
71
77
|
{
|
|
72
78
|
"id": "il0373_updated",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "tab",
|
|
5
5
|
"label": "PCF8576 Clock",
|
|
6
6
|
"disabled": false,
|
|
7
|
-
"info": "Drives a 4-digit 7-segment LCD clock from a PCF8576 over I2C. An inject node fires every second, a function node converts the current time to four individual digits, and the
|
|
7
|
+
"info": "Drives a 4-digit 7-segment LCD clock from a PCF8576 over I2C. An inject node fires every second, a function node converts the current time to four individual digits, and the pcf8576 node writes the encoded bytes to the chip's display RAM. The chip handles AC drive waveforms internally — the host only writes segment data. With the demo's 9999-to-0000 countdown variant, the user can verify that all 20 segment positions update at the expected rate and that the chip is reliable over many writes."
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"id": "cfg-pcf8576",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"id": "write-lcd",
|
|
51
|
-
"type": "
|
|
51
|
+
"type": "pcf8576",
|
|
52
52
|
"name": "Display",
|
|
53
53
|
"device": "cfg-pcf8576",
|
|
54
54
|
"z": "tab-pcf8576-demo",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "tab",
|
|
5
5
|
"label": "PCF8578 Bouncing Pixel",
|
|
6
6
|
"disabled": false,
|
|
7
|
-
"info": "Drives a 16-row x 24-column dot-matrix LCD from a PCF8578 over I2C. An inject node fires every 500 ms; a function node computes a bouncing pixel position, first clearing the previous position and then lighting the new one, and sends both to the
|
|
7
|
+
"info": "Drives a 16-row x 24-column dot-matrix LCD from a PCF8578 over I2C. An inject node fires every 500 ms; a function node computes a bouncing pixel position, first clearing the previous position and then lighting the new one, and sends both to the pcf8578 node. A second inject toggles inverse video on and off every 2 seconds to show the display status control. The RAM contents survive status changes, so the bouncing pixel keeps moving while the panel flips between normal and inverse."
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"id": "cfg-pcf8578",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"id": "lcd-node",
|
|
95
|
-
"type": "
|
|
95
|
+
"type": "pcf8578",
|
|
96
96
|
"name": "PCF8578",
|
|
97
97
|
"device": "cfg-pcf8578",
|
|
98
98
|
"z": "tab-pcf8578-demo",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "tab",
|
|
5
5
|
"label": "PCF8579 Bouncing Pixel",
|
|
6
6
|
"disabled": false,
|
|
7
|
-
"info": "Drives a 16-row x 40-column LCD from a PCF8579 (subaddress 0, PCF8578 in row mode supplying rows and clock) over I2C. An inject node fires every 500 ms; a function node computes a bouncing pixel position, first clearing the previous position and then lighting the new one, and sends both to the
|
|
7
|
+
"info": "Drives a 16-row x 40-column LCD from a PCF8579 (subaddress 0, PCF8578 in row mode supplying rows and clock) over I2C. An inject node fires every 500 ms; a function node computes a bouncing pixel position, first clearing the previous position and then lighting the new one, and sends both to the pcf8579 node. A second inject toggles inverse video on and off every 2 seconds to show the display status control. The RAM contents survive status changes, so the bouncing pixel keeps moving while the panel flips between normal and inverse."
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"id": "cfg-pcf8579",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
"id": "lcd-node",
|
|
97
|
-
"type": "
|
|
97
|
+
"type": "pcf8579",
|
|
98
98
|
"name": "PCF8579",
|
|
99
99
|
"device": "cfg-pcf8579",
|
|
100
100
|
"z": "tab-pcf8579-demo",
|
|
@@ -151,22 +151,30 @@
|
|
|
151
151
|
]
|
|
152
152
|
]
|
|
153
153
|
},
|
|
154
|
+
{
|
|
155
|
+
"id": "sh1106-device-1",
|
|
156
|
+
"type": "sh1106-device",
|
|
157
|
+
"name": "SH1106",
|
|
158
|
+
"address": "0x3C",
|
|
159
|
+
"height": "64",
|
|
160
|
+
"columnOffset": "2",
|
|
161
|
+
"autoShow": true,
|
|
162
|
+
"width": "128",
|
|
163
|
+
"i2cBus": "1",
|
|
164
|
+
"transport": "i2c"
|
|
165
|
+
},
|
|
154
166
|
{
|
|
155
167
|
"id": "sh1106_node",
|
|
156
|
-
"type": "
|
|
168
|
+
"type": "sh1106",
|
|
157
169
|
"z": "sh1106_tab",
|
|
158
170
|
"name": "1.3\" OLED",
|
|
159
171
|
"transport": "i2c",
|
|
160
|
-
"i2cBus": "1",
|
|
161
|
-
"address": "0x3C",
|
|
162
|
-
"width": "128",
|
|
163
|
-
"height": "64",
|
|
164
|
-
"columnOffset": "2",
|
|
165
172
|
"autoShow": true,
|
|
166
173
|
"x": 640,
|
|
167
174
|
"y": 200,
|
|
168
175
|
"wires": [
|
|
169
176
|
[]
|
|
170
|
-
]
|
|
177
|
+
],
|
|
178
|
+
"device": "sh1106-device-1"
|
|
171
179
|
}
|
|
172
180
|
]
|
|
@@ -197,22 +197,30 @@
|
|
|
197
197
|
]
|
|
198
198
|
]
|
|
199
199
|
},
|
|
200
|
+
{
|
|
201
|
+
"id": "ssd1305-device-1",
|
|
202
|
+
"type": "ssd1305-device",
|
|
203
|
+
"name": "SSD1305",
|
|
204
|
+
"address": "0x3C",
|
|
205
|
+
"height": "64",
|
|
206
|
+
"columnOffset": "4",
|
|
207
|
+
"autoShow": true,
|
|
208
|
+
"width": "128",
|
|
209
|
+
"i2cBus": "1",
|
|
210
|
+
"transport": "i2c"
|
|
211
|
+
},
|
|
200
212
|
{
|
|
201
213
|
"id": "ssd1305_node",
|
|
202
|
-
"type": "
|
|
214
|
+
"type": "ssd1305",
|
|
203
215
|
"z": "ssd1305_tab",
|
|
204
216
|
"name": "1.3\" OLED",
|
|
205
217
|
"transport": "i2c",
|
|
206
|
-
"i2cBus": "1",
|
|
207
|
-
"address": "0x3C",
|
|
208
|
-
"width": "128",
|
|
209
|
-
"height": "64",
|
|
210
|
-
"columnOffset": "4",
|
|
211
218
|
"autoShow": true,
|
|
212
219
|
"x": 640,
|
|
213
220
|
"y": 200,
|
|
214
221
|
"wires": [
|
|
215
222
|
[]
|
|
216
|
-
]
|
|
223
|
+
],
|
|
224
|
+
"device": "ssd1305-device-1"
|
|
217
225
|
}
|
|
218
226
|
]
|
|
@@ -197,20 +197,27 @@
|
|
|
197
197
|
]
|
|
198
198
|
]
|
|
199
199
|
},
|
|
200
|
+
{
|
|
201
|
+
"id": "ssd1306-device-1",
|
|
202
|
+
"type": "ssd1306-device",
|
|
203
|
+
"name": "SSD1306",
|
|
204
|
+
"externalVcc": false,
|
|
205
|
+
"address": "0x3C",
|
|
206
|
+
"height": "64",
|
|
207
|
+
"autoShow": true,
|
|
208
|
+
"width": "128",
|
|
209
|
+
"i2cBus": "1",
|
|
210
|
+
"transport": "i2c"
|
|
211
|
+
},
|
|
200
212
|
{
|
|
201
213
|
"id": "ssd1306_node",
|
|
202
|
-
"type": "
|
|
214
|
+
"type": "ssd1306",
|
|
203
215
|
"z": "ssd1306_tab",
|
|
204
216
|
"name": "0.96\" OLED",
|
|
205
|
-
"transport": "i2c",
|
|
206
|
-
"i2cBus": "1",
|
|
207
|
-
"address": "0x3C",
|
|
208
|
-
"width": "128",
|
|
209
|
-
"height": "64",
|
|
210
217
|
"autoShow": true,
|
|
211
218
|
"x": 640,
|
|
212
219
|
"y": 200,
|
|
213
220
|
"wires": [],
|
|
214
|
-
"
|
|
221
|
+
"device": "ssd1306-device-1"
|
|
215
222
|
}
|
|
216
223
|
]
|
|
@@ -45,23 +45,29 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"id": "
|
|
49
|
-
"type": "
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"spiBus": "0",
|
|
48
|
+
"id": "ssd1331-device-1",
|
|
49
|
+
"type": "ssd1331-device",
|
|
50
|
+
"name": "SSD1331",
|
|
51
|
+
"resPin": "17",
|
|
53
52
|
"spiDevice": "0",
|
|
54
|
-
"gpioChip": "0",
|
|
55
53
|
"dcPin": "25",
|
|
56
|
-
"resPin": "17",
|
|
57
54
|
"autoShow": false,
|
|
55
|
+
"spiBus": "0",
|
|
56
|
+
"gpioChip": "0"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "ssd1331_node",
|
|
60
|
+
"type": "ssd1331",
|
|
61
|
+
"z": "ssd1331_tab",
|
|
62
|
+
"name": "OLED",
|
|
58
63
|
"x": 520,
|
|
59
64
|
"y": 100,
|
|
60
65
|
"wires": [
|
|
61
66
|
[
|
|
62
67
|
"ssd1331_debug"
|
|
63
68
|
]
|
|
64
|
-
]
|
|
69
|
+
],
|
|
70
|
+
"device": "ssd1331-device-1"
|
|
65
71
|
},
|
|
66
72
|
{
|
|
67
73
|
"id": "ssd1331_debug",
|
|
@@ -97,20 +97,26 @@
|
|
|
97
97
|
]
|
|
98
98
|
]
|
|
99
99
|
},
|
|
100
|
+
{
|
|
101
|
+
"id": "st7036-device-1",
|
|
102
|
+
"type": "st7036-device",
|
|
103
|
+
"name": "ST7036",
|
|
104
|
+
"resPin": "17",
|
|
105
|
+
"supply": "3v3",
|
|
106
|
+
"spiDevice": "0",
|
|
107
|
+
"lines": "2",
|
|
108
|
+
"rsPin": "25",
|
|
109
|
+
"spiBus": "0",
|
|
110
|
+
"gpioChip": "0"
|
|
111
|
+
},
|
|
100
112
|
{
|
|
101
113
|
"id": "st7036_node",
|
|
102
|
-
"type": "
|
|
114
|
+
"type": "st7036",
|
|
103
115
|
"z": "st7036_tab",
|
|
104
116
|
"name": "DOGM162W",
|
|
105
|
-
"spiBus": "0",
|
|
106
|
-
"spiDevice": "0",
|
|
107
|
-
"gpioChip": "0",
|
|
108
|
-
"rsPin": "25",
|
|
109
|
-
"resPin": "17",
|
|
110
|
-
"lines": "2",
|
|
111
|
-
"supply": "3v3",
|
|
112
117
|
"x": 700,
|
|
113
118
|
"y": 120,
|
|
114
|
-
"wires": []
|
|
119
|
+
"wires": [],
|
|
120
|
+
"device": "st7036-device-1"
|
|
115
121
|
}
|
|
116
122
|
]
|
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
"type": "inject",
|
|
12
12
|
"z": "uc1611s_tab",
|
|
13
13
|
"name": "draw frame",
|
|
14
|
-
"props": [
|
|
14
|
+
"props": [
|
|
15
|
+
{
|
|
16
|
+
"p": "payload"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
15
19
|
"repeat": "",
|
|
16
20
|
"once": true,
|
|
17
21
|
"onceDelay": "2",
|
|
@@ -19,14 +23,22 @@
|
|
|
19
23
|
"payloadType": "json",
|
|
20
24
|
"x": 130,
|
|
21
25
|
"y": 80,
|
|
22
|
-
"wires": [
|
|
26
|
+
"wires": [
|
|
27
|
+
[
|
|
28
|
+
"uc1611s_node"
|
|
29
|
+
]
|
|
30
|
+
]
|
|
23
31
|
},
|
|
24
32
|
{
|
|
25
33
|
"id": "uc1611s_tick",
|
|
26
34
|
"type": "inject",
|
|
27
35
|
"z": "uc1611s_tab",
|
|
28
36
|
"name": "every 100 ms",
|
|
29
|
-
"props": [
|
|
37
|
+
"props": [
|
|
38
|
+
{
|
|
39
|
+
"p": "payload"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
30
42
|
"repeat": "0.1",
|
|
31
43
|
"once": true,
|
|
32
44
|
"onceDelay": "4",
|
|
@@ -34,7 +46,11 @@
|
|
|
34
46
|
"payloadType": "date",
|
|
35
47
|
"x": 130,
|
|
36
48
|
"y": 160,
|
|
37
|
-
"wires": [
|
|
49
|
+
"wires": [
|
|
50
|
+
[
|
|
51
|
+
"uc1611s_ball"
|
|
52
|
+
]
|
|
53
|
+
]
|
|
38
54
|
},
|
|
39
55
|
{
|
|
40
56
|
"id": "uc1611s_ball",
|
|
@@ -45,21 +61,33 @@
|
|
|
45
61
|
"outputs": 1,
|
|
46
62
|
"x": 320,
|
|
47
63
|
"y": 160,
|
|
48
|
-
"wires": [
|
|
64
|
+
"wires": [
|
|
65
|
+
[
|
|
66
|
+
"uc1611s_node"
|
|
67
|
+
]
|
|
68
|
+
]
|
|
49
69
|
},
|
|
50
70
|
{
|
|
51
71
|
"id": "uc1611s_invert",
|
|
52
72
|
"type": "inject",
|
|
53
73
|
"z": "uc1611s_tab",
|
|
54
74
|
"name": "toggle invert",
|
|
55
|
-
"props": [
|
|
75
|
+
"props": [
|
|
76
|
+
{
|
|
77
|
+
"p": "payload"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
56
80
|
"repeat": "5",
|
|
57
81
|
"once": false,
|
|
58
82
|
"payload": "",
|
|
59
83
|
"payloadType": "date",
|
|
60
84
|
"x": 130,
|
|
61
85
|
"y": 240,
|
|
62
|
-
"wires": [
|
|
86
|
+
"wires": [
|
|
87
|
+
[
|
|
88
|
+
"uc1611s_invert_fn"
|
|
89
|
+
]
|
|
90
|
+
]
|
|
63
91
|
},
|
|
64
92
|
{
|
|
65
93
|
"id": "uc1611s_invert_fn",
|
|
@@ -70,50 +98,79 @@
|
|
|
70
98
|
"outputs": 1,
|
|
71
99
|
"x": 330,
|
|
72
100
|
"y": 240,
|
|
73
|
-
"wires": [
|
|
101
|
+
"wires": [
|
|
102
|
+
[
|
|
103
|
+
"uc1611s_node"
|
|
104
|
+
]
|
|
105
|
+
]
|
|
74
106
|
},
|
|
75
107
|
{
|
|
76
108
|
"id": "uc1611s_contrast",
|
|
77
109
|
"type": "inject",
|
|
78
110
|
"z": "uc1611s_tab",
|
|
79
111
|
"name": "contrast 0x70",
|
|
80
|
-
"props": [
|
|
112
|
+
"props": [
|
|
113
|
+
{
|
|
114
|
+
"p": "payload"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
81
117
|
"repeat": "",
|
|
82
118
|
"once": false,
|
|
83
119
|
"payload": "{\"contrast\":112}",
|
|
84
120
|
"payloadType": "json",
|
|
85
121
|
"x": 130,
|
|
86
122
|
"y": 320,
|
|
87
|
-
"wires": [
|
|
123
|
+
"wires": [
|
|
124
|
+
[
|
|
125
|
+
"uc1611s_node"
|
|
126
|
+
]
|
|
127
|
+
]
|
|
88
128
|
},
|
|
89
129
|
{
|
|
90
130
|
"id": "uc1611s_contrast_reset",
|
|
91
131
|
"type": "inject",
|
|
92
132
|
"z": "uc1611s_tab",
|
|
93
133
|
"name": "contrast 0x8F",
|
|
94
|
-
"props": [
|
|
134
|
+
"props": [
|
|
135
|
+
{
|
|
136
|
+
"p": "payload"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
95
139
|
"repeat": "",
|
|
96
140
|
"once": false,
|
|
97
141
|
"payload": "{\"contrast\":143}",
|
|
98
142
|
"payloadType": "json",
|
|
99
143
|
"x": 130,
|
|
100
144
|
"y": 380,
|
|
101
|
-
"wires": [
|
|
145
|
+
"wires": [
|
|
146
|
+
[
|
|
147
|
+
"uc1611s_node"
|
|
148
|
+
]
|
|
149
|
+
]
|
|
102
150
|
},
|
|
103
151
|
{
|
|
104
|
-
"id": "
|
|
105
|
-
"type": "
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"i2cBus": "1",
|
|
152
|
+
"id": "uc1611s-device-1",
|
|
153
|
+
"type": "uc1611s-device",
|
|
154
|
+
"name": "UC1611S",
|
|
155
|
+
"contrast": "143",
|
|
109
156
|
"address": "0x38",
|
|
110
|
-
"width": "240",
|
|
111
157
|
"height": "128",
|
|
112
158
|
"topView": false,
|
|
113
|
-
"
|
|
159
|
+
"autoShow": true,
|
|
160
|
+
"width": "240",
|
|
161
|
+
"i2cBus": "1"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "uc1611s_node",
|
|
165
|
+
"type": "uc1611s",
|
|
166
|
+
"z": "uc1611s_tab",
|
|
167
|
+
"name": "DOGXL240-7",
|
|
114
168
|
"autoShow": true,
|
|
115
169
|
"x": 640,
|
|
116
170
|
"y": 200,
|
|
117
|
-
"wires": [
|
|
171
|
+
"wires": [
|
|
172
|
+
[]
|
|
173
|
+
],
|
|
174
|
+
"device": "uc1611s-device-1"
|
|
118
175
|
}
|
|
119
176
|
]
|
|
@@ -45,28 +45,34 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"id": "
|
|
49
|
-
"type": "
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"spiBus": "0",
|
|
53
|
-
"spiDevice": "0",
|
|
48
|
+
"id": "uc8159-device-1",
|
|
49
|
+
"type": "uc8159-device",
|
|
50
|
+
"name": "UC8159",
|
|
51
|
+
"busyTimeout": "30000",
|
|
54
52
|
"gpioChip": "0",
|
|
55
|
-
"
|
|
53
|
+
"spiBus": "0",
|
|
56
54
|
"resPin": "17",
|
|
57
55
|
"busyPin": "24",
|
|
56
|
+
"autoShow": false,
|
|
57
|
+
"dcPin": "25",
|
|
58
58
|
"wireMode": "simplex",
|
|
59
|
+
"spiDevice": "0"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "uc8159_node",
|
|
63
|
+
"type": "uc8159",
|
|
64
|
+
"z": "uc8159_tab",
|
|
65
|
+
"name": "",
|
|
59
66
|
"width": "400",
|
|
60
67
|
"height": "300",
|
|
61
|
-
"busyTimeout": "30000",
|
|
62
|
-
"autoShow": false,
|
|
63
68
|
"x": 590,
|
|
64
69
|
"y": 100,
|
|
65
70
|
"wires": [
|
|
66
71
|
[
|
|
67
72
|
"uc8159_updated"
|
|
68
73
|
]
|
|
69
|
-
]
|
|
74
|
+
],
|
|
75
|
+
"device": "uc8159-device-1"
|
|
70
76
|
},
|
|
71
77
|
{
|
|
72
78
|
"id": "uc8159_updated",
|
|
@@ -45,28 +45,34 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"id": "
|
|
49
|
-
"type": "
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"spiBus": "0",
|
|
53
|
-
"spiDevice": "0",
|
|
48
|
+
"id": "uc8276c-device-1",
|
|
49
|
+
"type": "uc8276c-device",
|
|
50
|
+
"name": "UC8276C",
|
|
51
|
+
"busyTimeout": "30000",
|
|
54
52
|
"gpioChip": "0",
|
|
55
|
-
"
|
|
53
|
+
"spiBus": "0",
|
|
54
|
+
"height": "300",
|
|
56
55
|
"resPin": "17",
|
|
57
|
-
"busyPin": "24",
|
|
58
|
-
"wireMode": "simplex",
|
|
59
56
|
"width": "400",
|
|
60
|
-
"
|
|
61
|
-
"busyTimeout": "30000",
|
|
57
|
+
"busyPin": "24",
|
|
62
58
|
"autoShow": false,
|
|
59
|
+
"dcPin": "25",
|
|
60
|
+
"wireMode": "simplex",
|
|
61
|
+
"spiDevice": "0"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "uc8276c_node",
|
|
65
|
+
"type": "uc8276c",
|
|
66
|
+
"z": "uc8276c_tab",
|
|
67
|
+
"name": "",
|
|
63
68
|
"x": 590,
|
|
64
69
|
"y": 100,
|
|
65
70
|
"wires": [
|
|
66
71
|
[
|
|
67
72
|
"uc8276c_updated"
|
|
68
73
|
]
|
|
69
|
-
]
|
|
74
|
+
],
|
|
75
|
+
"device": "uc8276c-device-1"
|
|
70
76
|
},
|
|
71
77
|
{
|
|
72
78
|
"id": "uc8276c_updated",
|