Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 608 Bytes

examples.rst

File metadata and controls

26 lines (18 loc) · 608 Bytes

Simple test

Ensure your device works with this simple test that prints out the time from NTP.

../examples/ntp_simpletest.py

Set RTC

Sync your CircuitPython board's realtime clock (RTC) with time from NTP.

../examples/ntp_set_rtc.py

Simple test with CPython

Test the library in CPython using socket.

../examples/ntp_cpython.py