Why does D0 never turn off? (code help)

I edited your first post with this formatting tip in mind:

Are you trying to make an Alarm? Try this library:

It also uses the built-in RTC so even less libraries needed.

2 Likes