Let’s extend the alarm device and make the LED stay enabled after trigerring even after the condition is no longer met. This is useful to signalize that something gone wrong even if it was not observed immediatelly.
When the value gets out of the range, the
or node sends a pulse to the
SET pin of the
flip-flop node. So
True until we reset it, toggle it, or reboot the board.
Let’s make the alarm resettable.
Heat or cool down the thermometer. Use the new button to turn the alarm off until the new trigger event is encountered.