]> www.infradead.org Git - users/dwmw2/esp32-pool.git/commitdiff
Correct docs.
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 2 Dec 2024 09:09:54 +0000 (09:09 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 2 Dec 2024 09:09:54 +0000 (09:09 +0000)
Best not to claim the GPIO used for ADC is three *different* pins. Make
them all agree with the actual code, according to the pin it ended up on.

bathroomfloor.yaml

index 79ea5b2f1656d530734356e18df26d7a3a35a6c8..069c66e825cc4e554053e0576f99ebd4e34a8389 100644 (file)
@@ -4,7 +4,7 @@
 # GPIO23: Onboard blue LED (used to show MQTT connectivity)
 # GPIO16: Onboard relay (bathroom fan)
 # GPIO25: Used as output for NTC bridge
-# GPIO32: ADC, midpoint of NTC bridge
+# GPIO34: ADC, midpoint of NTC bridge
 #
 # The underfloor heating NTC thermistor is connected as follows:
 #
 #      |
 #      ▯ 10 kΩ fixed resistor
 #      |
-#      --- GPIO24 (ADC)
+#      --- GPIO34 (ADC)
 #      |
 #      ▯ 10 kΩ NTC under floor
 #      |
 #      ⏚  GND
 #
 # Rather than leaving current flowing through the thermistor at all times and
-# potentially introduicing errors by warming it up, we only turn GPIO25 on
+# potentially introducing errors by warming it up, we only turn GPIO25 on
 # when it's time to take a reading.
 #
 # So we disable the periodic measurement on the ADC sensor, then periodically