1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

Support for pcd8544 (nokia 5110 and 3310) screen (#973)

* First version of working compontent for pc8544 screen

* Fixed lint errors

* Fixed lint errors #2
This commit is contained in:
Bartłomiej Biernacki
2020-04-04 23:23:23 +02:00
committed by GitHub
parent 25cdbacecc
commit 4620ad6124
5 changed files with 247 additions and 0 deletions

View File

@@ -1444,6 +1444,12 @@ display:
lambda: |-
it.set_component_value("gauge", 50);
it.set_component_text("textview", "Hello World!");
- platform: pcd8544
cs_pin: GPIO23
dc_pin: GPIO23
reset_pin: GPIO23
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
- platform: ssd1306_i2c
model: "SSD1306_128X64"
reset_pin: GPIO23