Build a task to track the number of times a microcontroller restarts (reset or power failure). Also provide functionality for the user to set the counter back to zero using a serial terminal (e.g., PuTTY, Arduino IDE).
Please refer to the video example.
Example:
Submit Your Solution