mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[ch422g] Add support for pins 8-11; make input work. (#7467)
This commit is contained in:
		| @@ -1,6 +1,5 @@ | ||||
| ch422g: | ||||
|   - id: ch422g_hub | ||||
|     address: 0x24 | ||||
|  | ||||
| binary_sensor: | ||||
|   - platform: gpio | ||||
| @@ -11,10 +10,18 @@ binary_sensor: | ||||
|       number: 1 | ||||
|       mode: INPUT | ||||
|       inverted: true | ||||
| output: | ||||
|   - platform: gpio | ||||
|     id: ch422g_output | ||||
|     id: ch422_out_0 | ||||
|     pin: | ||||
|       ch422g: ch422g_hub | ||||
|       number: 0 | ||||
|       mode: OUTPUT | ||||
|       inverted: false | ||||
|   - platform: gpio | ||||
|     id: ch422_out_11 | ||||
|     pin: | ||||
|       ch422g: ch422g_hub | ||||
|       number: 11 | ||||
|       mode: OUTPUT_OPEN_DRAIN | ||||
|       inverted: true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user