mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[CI] Consolidate some tests (U, V, W, X, Y, Z) (#8210)
This commit is contained in:
		| @@ -1,35 +1,11 @@ | ||||
| spi: | ||||
|   - id: spi_xpt2046 | ||||
|     clk_pin: 6 | ||||
|     mosi_pin: 7 | ||||
|     miso_pin: 5 | ||||
| substitutions: | ||||
|   clk_pin: GPIO4 | ||||
|   mosi_pin: GPIO5 | ||||
|   miso_pin: GPIO6 | ||||
|   dc_pin: GPIO7 | ||||
|   cs_pin: GPIO0 | ||||
|   disp_cs_pin: GPIO1 | ||||
|   interrupt_pin: GPIO3 | ||||
|   reset_pin: GPIO10 | ||||
|  | ||||
| display: | ||||
|   - platform: ili9xxx | ||||
|     id: xpt_display | ||||
|     dimensions: 320x240 | ||||
|     model: TFT 2.4 | ||||
|     cs_pin: 8 | ||||
|     dc_pin: 9 | ||||
|     reset_pin: 10 | ||||
|     invert_colors: false | ||||
|     lambda: |- | ||||
|       it.rectangle(0, 0, it.get_width(), it.get_height()); | ||||
|  | ||||
| touchscreen: | ||||
|   - platform: xpt2046 | ||||
|     id: xpt_touchscreen | ||||
|     cs_pin: 4 | ||||
|     interrupt_pin: 3 | ||||
|     display: xpt_display | ||||
|     update_interval: 50ms | ||||
|     threshold: 400 | ||||
|     calibration: | ||||
|       x_min: 50 | ||||
|       x_max: 280 | ||||
|       y_min: 340 | ||||
|       y_max: 3860 | ||||
|     on_touch: | ||||
|       - logger.log: | ||||
|           format: Touch at (%d, %d) | ||||
|           args: [touch.x, touch.y] | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user