time (ESP32)¶
Blocks in toolbox order:
- Pause (utime.delay)
- time counter (utime.vars)
- RTC Time Folders
- Time synchronization via NTP
- RTC Settings
- RTC read
- Deep sleep
Practical principles¶
- Use blocking waits only where you don't mind pausing the entire loop.
- For regular tasks, prefer timers or comparing
ticksvalues. - Start NTP synchronization only after establishing a Wi-Fi connection.