Shuffled pins around for more soldering comfort and wrong Chinese PCB labels...

This commit is contained in:
Marcus Scholz 2021-09-28 20:06:29 +02:00
parent 4ac0413982
commit 85fe000643
1 changed files with 6 additions and 6 deletions

View File

@ -70,17 +70,17 @@ ota:
# Initialize I²C # Initialize I²C
i2c: i2c:
- id: bus_a - id: bus_a
sda: 13 sda: 32
scl: 16 scl: 25
scan: true scan: true
# Initialize LEDC GPIOs # Initialize LEDC GPIOs
output: output:
- platform: ledc - platform: ledc
pin: GPIO17 pin: GPIO16
id: led_red id: led_red
- platform: ledc - platform: ledc
pin: GPIO18 pin: GPIO15
id: led_green id: led_green
max_power: 50% max_power: 50%
- platform: ledc - platform: ledc
@ -99,7 +99,7 @@ light:
# Initialize UART for Vindriktning sensor # Initialize UART for Vindriktning sensor
uart: uart:
rx_pin: GPIO26 rx_pin: GPIO22
baud_rate: 9600 baud_rate: 9600
# Create text sensor to represent CO2 LED warn state (somewhat redundant) # Create text sensor to represent CO2 LED warn state (somewhat redundant)
@ -218,7 +218,7 @@ sensor:
state: "rot" state: "rot"
# Analog photo diode voltage # Analog photo diode voltage
- platform: adc - platform: adc
pin: 32 pin: 34
name: "Spannung Photodiode" name: "Spannung Photodiode"
attenuation: 11db attenuation: 11db
update_interval: 1s update_interval: 1s