Skip to content

7.5.1 - Use time.monotonic_ns() When Available

Compare
Choose a tag to compare
@FoamyGuy FoamyGuy released this 27 Nov 17:02
· 60 commits to main since this release
d1e2b7c

This release updates the library to use time.monotonic_ns() when it's available to avoid the imprecision that occurs with time.monotonic(). Thank you @vladak. User code can pass use_impercise_time=True argument to the constructor to fallback to using time.monotonic().

To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.

To use in CPython, pip3 install adafruit-circuitpython-minimqtt.

Read the docs for info on how to use it.