adafruit_ntp

Network Time Protocol (NTP) helper for CircuitPython

  • Author(s): Brent Rubell

Implementation Notes

Hardware:

Software and Dependencies:

class adafruit_ntp.NTP(esp)

Network Time Protocol (NTP) helper module for CircuitPython. This module does not handle daylight savings or local time.

Parameters:esp (adafruit_esp32spi) – ESP32SPI object.
set_time()

Fetches and sets the microcontroller’s current time in seconds since since Jan 1, 1970.