mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
Document hardware, pinout and I2C devices in a header comment of every device
Merge the old pinout comment blocks into the header and mark what each pin is used for.
This commit is contained in:
1 parent
882428e491
commit
1a2aec5d01
54 files changed
+727
-323
No files matched your search
+12
-9
@@ -1,4 +1,16 @@
|
||||
---
|
||||
# Hardware: M5Stack M5Stamp S3
|
||||
# Pinout:
|
||||
# GPIO0 Button
|
||||
# GPIO1 I2C SDA -> i2c_rfid (i2c sda)
|
||||
# GPIO2 I2C SDA, Notify LED -> i2c_rfid (i2c scl)
|
||||
# GPIO3 -> notify_led (light esp32_rmt_led_strip)
|
||||
# GPIO4 Buzzer -> buzzer (output ledc)
|
||||
# GPIO19 U-
|
||||
# GPIO20 U+
|
||||
# GPIO21 RGB -> status_led (light esp32_rmt_led_strip)
|
||||
# I2C:
|
||||
# 0x24 pn532_module (pn532_i2c)
|
||||
substitutions:
|
||||
device: rfid-reader
|
||||
name: RFID Reader
|
||||
@@ -45,15 +57,6 @@ packages:
|
||||
# logger:
|
||||
# hardware_uart: UART0
|
||||
|
||||
# GPIO20 U+
|
||||
# GPIO19 U-
|
||||
# GPIO0 Button
|
||||
# GPIO1 I2C SDA
|
||||
# GPIO2 I2C SDA
|
||||
# GPIO2 Notify LED
|
||||
# GPIO4 Buzzer
|
||||
# GPIO21 RGB
|
||||
|
||||
api:
|
||||
actions:
|
||||
- action: rfidreader_tag_ok
|
||||
|
||||
Reference in new issue
Block a user