1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Add sn74hc165 input shift register (#4151)

This commit is contained in:
Jesse Hills
2022-12-07 12:10:25 +13:00
committed by GitHub
parent f83f1bff19
commit 4ffdc38cf5
5 changed files with 229 additions and 0 deletions

View File

@@ -162,6 +162,11 @@ binary_sensor:
then:
- output.turn_off: Led7
- platform: gpio
id: sn74hc165_pin_0
pin:
sn74hc165: sn74hc165_hub
number: 0
@@ -542,3 +547,11 @@ text_sensor:
- ezo_pmp.arbitrary_command:
id: hcl_pump
command: D,?
sn74hc165:
id: sn74hc165_hub
data_pin: GPIO12
clock_pin: GPIO14
load_pin: GPIO27
clock_inhibit_pin: GPIO26
sr_count: 4