mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	common
This commit is contained in:
		| @@ -1,11 +1,4 @@ | ||||
| uart: | ||||
|   - id: uart_a01nyub | ||||
|     tx_pin: ${tx_pin} | ||||
|     rx_pin: ${rx_pin} | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| sensor: | ||||
|   - platform: a01nyub | ||||
|     id: a01nyub_sensor | ||||
|     name: a01nyub Distance | ||||
|     uart_id: uart_a01nyub | ||||
|   | ||||
| @@ -1,5 +1,8 @@ | ||||
| substitutions: | ||||
|   tx_pin: GPIO17 | ||||
|   rx_pin: GPIO16 | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|  | ||||
| packages: | ||||
|   uart: !include ../../test_build_components/common/uart/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|   tx_pin: GPIO0 | ||||
|   rx_pin: GPIO2 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user