mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	Touchscreen: add support for CST226 controller chip (#6151)
--------- Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										24
									
								
								tests/components/cst226/test.esp32-c3.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								tests/components/cst226/test.esp32-c3.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| spi: | ||||
|   - id: spi_id_1 | ||||
|     clk_pin: GPIO7 | ||||
|     mosi_pin: GPIO6 | ||||
|     interface: any | ||||
|  | ||||
| display: | ||||
|   - platform: ili9xxx | ||||
|     id: displ8 | ||||
|     model: ili9342 | ||||
|     cs_pin: GPIO5 | ||||
|     dc_pin: GPIO4 | ||||
|     reset_pin: | ||||
|       number: GPIO21 | ||||
|  | ||||
| i2c: | ||||
|   scl: GPIO18 | ||||
|   sda: GPIO8 | ||||
|  | ||||
| touchscreen: | ||||
|   - platform: cst226 | ||||
|     interrupt_pin: GPIO3 | ||||
|     reset_pin: GPIO20 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user