mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Add testcases for multiple SPI buses on ESP32 Arduino (#5457)
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							0b5a57ead4
						
					
				
				
					commit
					2513ede3ec
				
			| @@ -32,10 +32,15 @@ i2c: | ||||
|   scan: false | ||||
|  | ||||
| spi: | ||||
| - id: spi_id_1 | ||||
|   clk_pin: GPIO21 | ||||
|   mosi_pin: GPIO22 | ||||
|   miso_pin: GPIO23 | ||||
|   interface: hardware | ||||
| - id: spi_id_2 | ||||
|   clk_pin: GPIO32 | ||||
|   mosi_pin: GPIO33 | ||||
|   interface: hardware | ||||
|  | ||||
| uart: | ||||
|   - id: uart115200 | ||||
| @@ -92,6 +97,7 @@ sx1509: | ||||
|     address: 0x3E | ||||
|  | ||||
| mcp3204: | ||||
|   spi_id: spi_id_1 | ||||
|   cs_pin: GPIO23 | ||||
|  | ||||
| dac7678: | ||||
| @@ -495,6 +501,7 @@ display: | ||||
|     update_interval: 16ms | ||||
|  | ||||
|   - platform: waveshare_epaper | ||||
|     spi_id: spi_id_1 | ||||
|     cs_pin: GPIO23 | ||||
|     dc_pin: GPIO23 | ||||
|     busy_pin: GPIO23 | ||||
| @@ -504,6 +511,7 @@ display: | ||||
|     lambda: |- | ||||
|       it.rectangle(0, 0, it.get_width(), it.get_height()); | ||||
|   - platform: waveshare_epaper | ||||
|     spi_id: spi_id_1 | ||||
|     cs_pin: GPIO23 | ||||
|     dc_pin: GPIO23 | ||||
|     busy_pin: GPIO23 | ||||
| @@ -514,6 +522,7 @@ display: | ||||
|     lambda: |- | ||||
|       it.rectangle(0, 0, it.get_width(), it.get_height()); | ||||
|   - platform: waveshare_epaper | ||||
|     spi_id: spi_id_1 | ||||
|     cs_pin: GPIO23 | ||||
|     dc_pin: GPIO23 | ||||
|     busy_pin: GPIO23 | ||||
| @@ -523,6 +532,7 @@ display: | ||||
|     lambda: |- | ||||
|       it.rectangle(0, 0, it.get_width(), it.get_height()); | ||||
|   - platform: waveshare_epaper | ||||
|     spi_id: spi_id_1 | ||||
|     cs_pin: GPIO23 | ||||
|     dc_pin: GPIO23 | ||||
|     busy_pin: GPIO23 | ||||
| @@ -673,6 +683,7 @@ touchscreen: | ||||
|  | ||||
|   - platform: xpt2046 | ||||
|     id: xpt_touchscreen | ||||
|     spi_id: spi_id_2 | ||||
|     cs_pin: 17 | ||||
|     interrupt_pin: 16 | ||||
|     display: inkplate_display | ||||
|   | ||||
		Reference in New Issue
	
	Block a user