.. autoclass:: pybricks.pupdevices.Light :no-members: .. automethod:: pybricks.pupdevices.Light.on .. automethod:: pybricks.pupdevices.Light.off
.. literalinclude:: ../../../examples/pup/light/basics.py
.. literalinclude:: ../../../examples/pup/light/math.py