Mercurial > code > home > repos > homeauto
annotate espNode/theater_lcd.yaml @ 802:d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
author | drewp@bigasterisk.com |
---|---|
date | Sat, 27 Mar 2021 22:15:56 -0700 |
parents | |
children | 2bed2f68243c |
rev | line source |
---|---|
802
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
1 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
2 esphome: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
3 name: theater_lcd |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
4 platform: ESP32 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
5 board: esp32cam |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
6 build_path: build |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
7 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
8 wifi: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
9 ssid: !secret wifi_ssid |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
10 password: !secret wifi_password |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
11 domain: '' |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
12 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
13 mqtt: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
14 broker: '10.2.0.1' |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
15 port: 1883 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
16 username: '' |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
17 password: '' |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
18 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
19 logger: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
20 baud_rate: 115200 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
21 level: DEBUG |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
22 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
23 ota: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
24 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
25 # image: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
26 # - file: "colorscape.png" |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
27 # id: colorscape |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
28 # type: RGB24 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
29 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
30 font: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
31 - file: "bluefish-scratched/BLUEFISH BLACK SCRATCHED_Demo.ttf" |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
32 id: font_bluefish_big |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
33 size: 120 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
34 glyphs: "0123456789ms " |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
35 - file: "Teko/Teko-Regular.ttf" |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
36 id: font_teko_small |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
37 size: 60 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
38 glyphs: "+-_.:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ " |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
39 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
40 display: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
41 - platform: ili9486_8bit |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
42 model: 'TFT_3.5' |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
43 id: lcd |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
44 cs_pin: GPIO16 # wh |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
45 dc_pin: GPIO17 # gy |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
46 wr_pin: GPIO5 # pu |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
47 rd_pin: GPIO18 # bk |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
48 data_pins: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
49 - GPIO33 # gy |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
50 - GPIO32 # bk |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
51 - GPIO13 # pu |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
52 - GPIO12 # bl |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
53 - GPIO14 # gn |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
54 - GPIO27 # ye |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
55 - GPIO26 # or |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
56 - GPIO25 # re |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
57 rotation: 90 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
58 lambda: |- |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
59 it.clear(); // may be cheaper to get text extent and fill that box only |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
60 { |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
61 const std::string line = id(line1).state; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
62 const char color_letter = line[0]; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
63 const char* text = line.c_str() + (line.size() > 1 ? 1 : 0); |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
64 Color color; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
65 switch(color_letter) { |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
66 // from https://coolors.co/e75d18-48a8a8-ededca-ac162a-550589-ed787f |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
67 case 'o': color = Color(0xe75d18);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
68 case 'b': color = Color(0x48a8a8);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
69 case 'y': color = Color(0xededca);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
70 case 'r': color = Color(0xac162a);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
71 case 'i': color = Color(0x550589);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
72 case 'p': color = Color(0xed787f);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
73 default: color = COLOR_WHITE; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
74 } |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
75 it.print(0, 0, id(font_bluefish_big), color, text); |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
76 } |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
77 { |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
78 const std::string line = id(line2).state; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
79 const char color_letter = line[0]; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
80 const char* text = line.c_str() + (line.size() > 1 ? 1 : 0); |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
81 Color color; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
82 switch(color_letter) { |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
83 case 'o': color = Color(0xe75d18);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
84 case 'b': color = Color(0x48a8a8);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
85 case 'y': color = Color(0xededca);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
86 case 'r': color = Color(0xac162a);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
87 case 'i': color = Color(0x550589);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
88 case 'p': color = Color(0xed787f);break; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
89 default: color = COLOR_WHITE; |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
90 } |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
91 it.print(0, 150, id(font_teko_small), color, text); |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
92 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
93 } |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
94 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
95 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
96 text_sensor: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
97 - platform: mqtt_subscribe |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
98 name: "line1" |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
99 id: line1 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
100 topic: theater_lcd/line1 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
101 on_value: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
102 then: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
103 - component.update: lcd |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
104 - platform: mqtt_subscribe |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
105 name: "line2" |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
106 id: line2 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
107 topic: theater_lcd/line2 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
108 on_value: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
109 then: |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
110 - component.update: lcd |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
111 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
112 # ili9486 setup |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
113 # http://www.lcdwiki.com/3.5inch_Arduino_Display-UNO |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
114 # (https://www.aliexpress.com/item/4000055026873.html $12) |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
115 # and https://circuits4you.com/wp-content/uploads/2018/12/ESP32-Pinout.jpg |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
116 # |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
117 # GND - GND Power ground |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
118 # 5V - 5V 5V power input |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
119 # NC - 3V3 3.3V power input, this pin can be disconnected |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
120 # GND - LCD_RST LCD bus reset signal, low level reset |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
121 # |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
122 # GPIO16 - LCD_CS LCD bus chip select signal, low level enable |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
123 # |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
124 # GPIO17 - LCD_RS LCD bus command / data selection signal, low level: command, high level: data |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
125 # GPIO5 - LCD_WR LCD bus write signal |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
126 # GPIO18 - LCD_RD LCD bus read signal |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
127 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
128 # GPIO33 - LCD_D0 LCD 8-bit data Bit0 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
129 # GPIO32 - LCD_D1 LCD 8-bit data Bit1 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
130 # GPIO13 - LCD_D2 LCD 8-bit data Bit2 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
131 # GPIO12 - LCD_D3 LCD 8-bit data Bit3 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
132 # GPIO14 - LCD_D4 LCD 8-bit data Bit4 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
133 # GPIO27 - LCD_D5 LCD 8-bit data Bit5 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
134 # GPIO26 - LCD_D6 LCD 8-bit data Bit6 |
d88085f35745
theater_lcd displays lines from mqtt on an ili9486 display in 8-bit mode
drewp@bigasterisk.com
parents:
diff
changeset
|
135 # GPIO25 - LCD_D7 LCD 8-bit data Bit7 |