Help! How to code this (START SWITCH) Answered
I have a problem on coding in my start button, when i pushed the start button, the process still working and need to finish its task given on the code then OFF,
The Problem is:
the problem is, when i pressed the start the button(ON), the process starts, but when i press the start button (OFF) , the Arduino finishes the entire code before it turns off. what i need is when i turn off the switch, the entire microcontroller(ARDUINO) is turn off, and when i start again the start button(ON), the process starts from the top.