Once the temperature reaches the upper boundary, a reading between the boundaries keeps the indicator on.
Chosen input sequence
- Step 125°C
- Step 228°C
- Step 327°C
- Step 426°C
- Step 527°C
Sensor logic lab · state and thresholds
The command turns ON at 28°C or above and OFF at 26°C or below. Between those thresholds, it retains the last command. The command is what the program requests—not an observation that the physical light is on.
Predict before inspecting
Once the temperature reaches the upper boundary, a reading between the boundaries keeps the indicator on.
Continue on the real starter
Edit HIGH_C and LOW_C near the top of code.py, as the build guide describes. Saving restarts CircuitPython and clears retained state. The defaults in indicator.py are overridden by those constants. A forced ON/OFF check is useful for wiring, but it is different from testing whether a between-threshold sample retains the previous command.