You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a sample code to sleep Attiny13 but I encountered a problem that even if I don't press the button Attiny13 reboots with 8sec intervals, it can be seen by the fact that the LED blinks every 8sec. Please help me to understand how to deep sleep correctly so that Attiny13 does not restart.And one more question why millis() does not work in this code, is it possible to use watchdog and millis(), if not, is there any alternative to millis(). Thanks in advance for your help (I am still a novice in this, and on the Internet could not find the necessary information).
I wrote a sample code to sleep Attiny13 but I encountered a problem that even if I don't press the button Attiny13 reboots with 8sec intervals, it can be seen by the fact that the LED blinks every 8sec. Please help me to understand how to deep sleep correctly so that Attiny13 does not restart.And one more question why millis() does not work in this code, is it possible to use watchdog and millis(), if not, is there any alternative to millis(). Thanks in advance for your help (I am still a novice in this, and on the Internet could not find the necessary information).
The text was updated successfully, but these errors were encountered: