mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-12-06 09:06:52 +01:00
mcu-can-node-2: on-board blue LED on GPIO2 as a locate LED
This commit is contained in:
1 parent
fdb9fd4796
commit
44b0601bf2
1 file changed
+7
@@ -1,6 +1,7 @@
|
||||
---
|
||||
# Hardware: ESP32 DevKit
|
||||
# Pinout:
|
||||
# GPIO2 -> LED (switch gpio, on-board blue LED)
|
||||
# GPIO17 -> i2c (i2c sda)
|
||||
# GPIO18 -> i2c (i2c scl)
|
||||
# GPIO19 -> as3935_i2c (as3935_i2c irq_pin)
|
||||
@@ -145,3 +146,9 @@ sensor:
|
||||
# canopen: DEBUG
|
||||
# can_driver: DEBUG
|
||||
# timer_driver: DEBUG
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
name: LED
|
||||
id: blue_led
|
||||
pin: 2
|
||||
Reference in new issue
Block a user