How to detect and handle a state change with a button press.
In this video we set up a push-button (momentary) and program it to act like a latching button using a technique called "state-change."
~-~~-~~~-~~-~
Please watch: "Arduino Power Monitor"
• Arduino Power Monitor
~-~~-~~~-~~-~