7.5.1 - Use time.monotonic_ns() When Available
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.