Skip to content

Commit

Permalink
Update yellowtft1.yaml
Browse files Browse the repository at this point in the history
Update calibration format
  • Loading branch information
TheNitek authored May 31, 2024
1 parent f47efbc commit ef5c5fc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Examples/ESPHome/6-VariousFeatures/yellowtft1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,11 @@ touchscreen:
interrupt_pin: GPIO36
update_interval: 50ms
threshold: 400
calibration_x_min: 3860
calibration_x_max: 280
calibration_y_min: 340
calibration_y_max: 3860
calibration:
x_min: 3860
x_max: 280
y_min: 340
y_max: 3860
transform:
swap_xy: true
# Calibration for the display
Expand All @@ -324,4 +325,4 @@ interval:
- interval: 15s
then:
- display.page.show_next: esp_display
- component.update: esp_display
- component.update: esp_display

0 comments on commit ef5c5fc

Please sign in to comment.