mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 23:03:46 +01:00
tweak
This commit is contained in:
@@ -10,6 +10,7 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: axs15231
|
- platform: axs15231
|
||||||
|
id: axs15231_touchscreen
|
||||||
display: ssd1306_display
|
display: ssd1306_display
|
||||||
interrupt_pin: 20
|
interrupt_pin: 20
|
||||||
reset_pin: 18
|
reset_pin: 18
|
||||||
|
@@ -26,6 +26,7 @@ touchscreen:
|
|||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: touchscreen
|
- platform: touchscreen
|
||||||
|
touchscreen_id: ts_cst816
|
||||||
name: Home Button
|
name: Home Button
|
||||||
use_raw: true
|
use_raw: true
|
||||||
x_min: 0
|
x_min: 0
|
||||||
|
@@ -10,6 +10,7 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: ektf2232
|
- platform: ektf2232
|
||||||
|
id: ektf2232_touchscreen
|
||||||
interrupt_pin: ${interrupt_pin}
|
interrupt_pin: ${interrupt_pin}
|
||||||
reset_pin: ${touch_reset_pin}
|
reset_pin: ${touch_reset_pin}
|
||||||
display: ssd1306_display
|
display: ssd1306_display
|
||||||
|
@@ -10,6 +10,7 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: ft5x06
|
- platform: ft5x06
|
||||||
|
id: ft5x06_touchscreen
|
||||||
on_touch:
|
on_touch:
|
||||||
- logger.log:
|
- logger.log:
|
||||||
format: Touch at (%d, %d)
|
format: Touch at (%d, %d)
|
||||||
|
@@ -10,6 +10,7 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: gt911
|
- platform: gt911
|
||||||
|
id: gt911_touchscreen
|
||||||
display: ssd1306_display
|
display: ssd1306_display
|
||||||
interrupt_pin: ${interrupt_pin}
|
interrupt_pin: ${interrupt_pin}
|
||||||
reset_pin: ${reset_pin}
|
reset_pin: ${reset_pin}
|
||||||
|
@@ -10,11 +10,13 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: tt21100
|
- platform: tt21100
|
||||||
|
id: tt21100_touchscreen
|
||||||
display: ssd1306_display
|
display: ssd1306_display
|
||||||
interrupt_pin: ${interrupt_pin}
|
interrupt_pin: ${interrupt_pin}
|
||||||
reset_pin: ${reset_pin}
|
reset_pin: ${reset_pin}
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: tt21100
|
- platform: tt21100
|
||||||
|
id: tt21100_touchscreen
|
||||||
name: Home Button
|
name: Home Button
|
||||||
index: 1
|
index: 1
|
||||||
|
Reference in New Issue
Block a user