mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	[axs15231] Touchscreen driver (#7592)
This commit is contained in:
		
							
								
								
									
										20
									
								
								tests/components/axs15231/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								tests/components/axs15231/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| i2c: | ||||
|   - id: i2c_axs15231 | ||||
|     scl: 3 | ||||
|     sda: 21 | ||||
|  | ||||
| display: | ||||
|   - platform: ssd1306_i2c | ||||
|     id: ssd1306_display | ||||
|     model: SSD1306_128X64 | ||||
|     reset_pin: 19 | ||||
|     pages: | ||||
|       - id: page1 | ||||
|         lambda: |- | ||||
|           it.rectangle(0, 0, it.get_width(), it.get_height()); | ||||
|  | ||||
| touchscreen: | ||||
|   - platform: axs15231 | ||||
|     display: ssd1306_display | ||||
|     interrupt_pin: 20 | ||||
|     reset_pin: 18 | ||||
							
								
								
									
										1
									
								
								tests/components/axs15231/test.esp32-ard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/axs15231/test.esp32-ard.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/axs15231/test.esp32-c3-ard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/axs15231/test.esp32-c3-ard.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/axs15231/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/axs15231/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/axs15231/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/axs15231/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common.yaml | ||||
							
								
								
									
										19
									
								
								tests/components/axs15231/test.esp8266-ard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								tests/components/axs15231/test.esp8266-ard.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| i2c: | ||||
|   - id: i2c_axs15231 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
|  | ||||
| display: | ||||
|   - platform: ssd1306_i2c | ||||
|     id: ssd1306_display | ||||
|     model: SSD1306_128X64 | ||||
|     reset_pin: 13 | ||||
|     pages: | ||||
|       - id: page1 | ||||
|         lambda: |- | ||||
|           it.rectangle(0, 0, it.get_width(), it.get_height()); | ||||
|  | ||||
| touchscreen: | ||||
|   - platform: axs15231 | ||||
|     display: ssd1306_display | ||||
|     interrupt_pin: 12 | ||||
							
								
								
									
										1
									
								
								tests/components/axs15231/test.rp2040-ard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/axs15231/test.rp2040-ard.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common.yaml | ||||
		Reference in New Issue
	
	Block a user