If Battery Voltages is Less than the Threshold Values then Circuit should stop

Which microcontroller are you using?

Arduino FAQ - How to stop an Arduino sketch

1 Like