Skip to content

Commit

Permalink
Testing more pins
Browse files Browse the repository at this point in the history
  • Loading branch information
untergeek committed Nov 23, 2024
1 parent 0f4bc0c commit 822bae7
Showing 1 changed file with 42 additions and 4 deletions.
46 changes: 42 additions & 4 deletions template/beken-sw02-03.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ text_sensor:
version:
name: LibreTiny Version

status_led:
pin:
number: P0
inverted: true
# status_led:
# pin:
# number: P0
# inverted: true
# inverted: True will yield a RED WiFi status light instead of BLUE
# P23 is the LED RED Status. "inverted: false" means it's off by default

Expand All @@ -40,6 +40,34 @@ output:
- platform: gpio
id: output_led_3
pin: P14
# Testing other pins
- platform: gpio
id: led0
pin: P0
- platform: gpio
id: led11
pin: P11
- platform: gpio
id: led23
pin: P23
# In use:
# 0
# 1
# 6
# 7
# 8
# 9
# 10
# 11
# 14
# 23
# 24
# 26

# Not in use (probably not even soldered)
# P20
# P21
# P22

light:
- platform: binary
Expand All @@ -54,6 +82,16 @@ light:
id: status3
internal: true
output: output_led_3
# Testing other LEDs
- platform: binary
id: test0
output: led0
- platform: binary
id: test11
output: led11
- platform: binary
id: test23
output: led23

switch:
- platform: gpio
Expand Down

0 comments on commit 822bae7

Please sign in to comment.