mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
SPI: Make some validation failures give more useful messages. (#6413)
This commit is contained in:
@@ -23,10 +23,11 @@ touchscreen:
|
||||
display: xpt_display
|
||||
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
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
|
@@ -23,10 +23,11 @@ touchscreen:
|
||||
display: xpt_display
|
||||
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
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
|
@@ -23,10 +23,11 @@ touchscreen:
|
||||
display: xpt_display
|
||||
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
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
|
@@ -23,10 +23,11 @@ touchscreen:
|
||||
display: xpt_display
|
||||
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
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
|
@@ -23,10 +23,11 @@ touchscreen:
|
||||
display: xpt_display
|
||||
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
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
|
@@ -23,10 +23,11 @@ touchscreen:
|
||||
display: xpt_display
|
||||
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
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
|
Reference in New Issue
Block a user