From: David Woodhouse <dwmw@amazon.co.uk>
Date: Mon, 2 Dec 2024 09:09:54 +0000 (+0000)
Subject: Correct docs.
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=66edd8c8dc2c54e6d81d03d9e5c7373056d9fbd1;p=users%2Fdwmw2%2Fesp32-pool.git

Correct docs.

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.
---

diff --git a/bathroomfloor.yaml b/bathroomfloor.yaml
index 79ea5b2..069c66e 100644
--- a/bathroomfloor.yaml
+++ b/bathroomfloor.yaml
@@ -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:
 #
@@ -12,14 +12,14 @@
 #      |
 #      ▯ 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