mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[sx1509] Output open drain pin mode (#6788)
This commit is contained in:
		| @@ -13,3 +13,21 @@ binary_sensor: | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 3 | ||||
|  | ||||
| switch: | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Open Drain | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 0 | ||||
|       mode: | ||||
|         output: true | ||||
|         open_drain: true | ||||
|  | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Standard | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 1 | ||||
|       mode: | ||||
|         output: true | ||||
|   | ||||
| @@ -13,3 +13,21 @@ binary_sensor: | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 3 | ||||
|  | ||||
| switch: | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Open Drain | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 0 | ||||
|       mode: | ||||
|         output: true | ||||
|         open_drain: true | ||||
|  | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Standard | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 1 | ||||
|       mode: | ||||
|         output: true | ||||
|   | ||||
| @@ -13,3 +13,21 @@ binary_sensor: | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 3 | ||||
|  | ||||
| switch: | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Open Drain | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 0 | ||||
|       mode: | ||||
|         output: true | ||||
|         open_drain: true | ||||
|  | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Standard | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 1 | ||||
|       mode: | ||||
|         output: true | ||||
|   | ||||
| @@ -13,3 +13,21 @@ binary_sensor: | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 3 | ||||
|  | ||||
| switch: | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Open Drain | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 0 | ||||
|       mode: | ||||
|         output: true | ||||
|         open_drain: true | ||||
|  | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Standard | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 1 | ||||
|       mode: | ||||
|         output: true | ||||
|   | ||||
| @@ -13,3 +13,21 @@ binary_sensor: | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 3 | ||||
|  | ||||
| switch: | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Open Drain | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 0 | ||||
|       mode: | ||||
|         output: true | ||||
|         open_drain: true | ||||
|  | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Standard | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 1 | ||||
|       mode: | ||||
|         output: true | ||||
|   | ||||
| @@ -13,3 +13,21 @@ binary_sensor: | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 3 | ||||
|  | ||||
| switch: | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Open Drain | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 0 | ||||
|       mode: | ||||
|         output: true | ||||
|         open_drain: true | ||||
|  | ||||
|   - platform: gpio | ||||
|     name: GPIO SX1509 Test Out Standard | ||||
|     pin: | ||||
|       sx1509: sx1509_hub | ||||
|       number: 1 | ||||
|       mode: | ||||
|         output: true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user