Skip to content

Commit 0490d5b

Browse files
committed
add precise_time.monotonic to tick count
1 parent 411140a commit 0490d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Modules
154154
Therefore, code from CircuitPython is runnable on CPython but not
155155
necessarily the reverse.
156156
- tick count is available as
157-
`time.monotonic() <https://circuitpython.readthedocs.io/en/latest/shared-bindings/time/__init__.html#time.monotonic>`__
157+
`time.monotonic() <https://circuitpython.readthedocs.io/en/latest/shared-bindings/time/__init__.html#time.monotonic>`__ (returns a float) or `precise_time.monotonic() <https://circuitpython.readthedocs.io/en/latest/shared-bindings/precise_time/__init__.html#precise_time.monotonic>`__ (returns an int).
158158

159159
atmel-samd21 features
160160
~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)