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