Files
pybricks-api/doc/ev3dev/tools.rst
T
Laurens Valk c43d296511 doc: move snippets to doc
Example snippets are platform specific.
2019-06-03 12:02:16 +02:00

29 lines
527 B
ReStructuredText

:mod:`tools` -- Timing and Datalogging
======================================
.. automodule:: tools
:no-members:
.. autofunction:: print
Example::
# Print some text
print("Hello, world")
# Print some text and a number
print("Value:", 5)
.. autofunction:: wait
.. autoclass:: tools.StopWatch
:no-members:
.. automethod:: tools.StopWatch.time
.. automethod:: tools.StopWatch.pause
.. automethod:: tools.StopWatch.resume
.. automethod:: tools.StopWatch.reset