Files
pybricks-api/doc/lpf2/tools.rst
T

29 lines
581 B
ReStructuredText

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