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
@@ -1,4 +1,23 @@
|
||||
---
|
||||
# Hardware: M5Stack AtomS3
|
||||
# Pinout:
|
||||
# GPIO1 Grove SCL -> motor_in1 (output gpio)
|
||||
# GPIO2 Grove SDA -> motor_in2 (output gpio)
|
||||
# GPIO5 -> canbus/esp32_can (canbus esp32_can tx_pin)
|
||||
# GPIO6 -> canbus/esp32_can (canbus esp32_can rx_pin)
|
||||
# GPIO15 -> display_tft (display mipi_spi cs_pin)
|
||||
# GPIO16 -> gpio_tft_backlight (output ledc)
|
||||
# GPIO17 -> spi (spi clk_pin)
|
||||
# GPIO21 -> spi (spi mosi_pin)
|
||||
# GPIO33 -> display_tft (display mipi_spi dc_pin)
|
||||
# GPIO34 -> display_tft (display mipi_spi reset_pin)
|
||||
# GPIO38 -> i2c_main (i2c sda)
|
||||
# GPIO39 -> i2c_main (i2c scl)
|
||||
# GPIO41 -> Button (binary_sensor gpio) (inverted)
|
||||
# I2C:
|
||||
# 0x21 pcf8574_hub (pcf8574)
|
||||
# 0x26 m5stack_relay_1 (m5stack_4relay)
|
||||
# 0x3C lcd (display ssd1306_i2c)
|
||||
substitutions:
|
||||
device: atoms3
|
||||
name: AtomS3
|
||||
|
||||
Reference in new issue
Block a user