mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[CI] Consolidate some tests (C) (#8186)
This commit is contained in:
		| @@ -1,27 +1,21 @@ | ||||
| touchscreen: | ||||
|   - platform: cst816 | ||||
|     id: my_touchscreen | ||||
|     interrupt_pin: | ||||
|       number: 21 | ||||
|     reset_pin: GPIO16 | ||||
|     skip_probe: false | ||||
|     transform: | ||||
|       mirror_x: false | ||||
|       mirror_y: false | ||||
|       swap_xy: false | ||||
|  | ||||
| i2c: | ||||
|   sda: 3 | ||||
|   scl: 4 | ||||
|   - id: i2c_cst816 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| spi: | ||||
|   - id: spi_ili9xxx | ||||
|     clk_pin: ${clk_pin} | ||||
|     mosi_pin: ${mosi_pin} | ||||
|  | ||||
| display: | ||||
|   - id: my_display | ||||
|     platform: ili9xxx | ||||
|     dimensions: 480x320 | ||||
|     model: ST7796 | ||||
|     cs_pin: 18 | ||||
|     dc_pin: 20 | ||||
|     reset_pin: 22 | ||||
|     cs_pin: ${cs_pin} | ||||
|     dc_pin: ${dc_pin} | ||||
|     reset_pin: ${disp_reset_pin} | ||||
|     transform: | ||||
|       swap_xy: true | ||||
|       mirror_x: true | ||||
| @@ -29,9 +23,16 @@ display: | ||||
|     auto_clear_enabled: false | ||||
|     invert_colors: false | ||||
|  | ||||
| spi: | ||||
|   clk_pin: 14 | ||||
|   mosi_pin: 13 | ||||
| touchscreen: | ||||
|   - id: ts_cst816 | ||||
|     platform: cst816 | ||||
|     interrupt_pin: ${interrupt_pin} | ||||
|     reset_pin: ${reset_pin} | ||||
|     skip_probe: false | ||||
|     transform: | ||||
|       mirror_x: false | ||||
|       mirror_y: false | ||||
|       swap_xy: false | ||||
|  | ||||
| binary_sensor: | ||||
|   - platform: cst816 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user