mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			395 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			395 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| sn74hc595:
 | |
|   - id: sn74hc595_hub
 | |
|     clock_pin: ${clock_pin}
 | |
|     data_pin: ${data_pin}
 | |
|     latch_pin: ${latch_pin1}
 | |
|     oe_pin: ${oe_pin1}
 | |
|     sr_count: 2
 | |
|   - id: sn74hc595_hub_2
 | |
|     latch_pin: ${latch_pin2}
 | |
|     oe_pin: ${oe_pin2}
 | |
|     type: spi
 | |
|     sr_count: 2
 | |
| 
 | |
| switch:
 | |
|   - platform: gpio
 | |
|     name: SN74HC595 Pin 0
 | |
|     pin:
 | |
|       sn74hc595: sn74hc595_hub_2
 | |
|       number: 0
 | |
|       inverted: false
 |