Open sweeneyb opened 3 years ago
ntptime.settime() sometimes fails when the board is just booted. This loop tries a few times and waits several seconds after a failure. Reading online, things tend to start working, which was my experience, too.
ntptime.settime() sometimes fails when the board is just booted. This loop tries a few times and waits several seconds after a failure. Reading online, things tend to start working, which was my experience, too.