mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
doc/hubs: expose color light functionality
This enables the blink and animate methods. The examples are not yet included.
This commit is contained in:
@@ -7,11 +7,9 @@
|
||||
|
||||
.. automethod:: pybricks.hubs::CityHub.light.off
|
||||
|
||||
.. .. automethod:: pybricks.hubs::CityHub.light.hsv
|
||||
.. automethod:: pybricks.hubs::CityHub.light.blink
|
||||
|
||||
.. .. automethod:: pybricks.hubs::CityHub.light.pattern
|
||||
|
||||
.. .. automethod:: pybricks.hubs::CityHub.light.reset
|
||||
.. automethod:: pybricks.hubs::CityHub.light.animate
|
||||
|
||||
.. rubric:: Using the battery
|
||||
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
|
||||
.. automethod:: pybricks.hubs::MoveHub.light.off
|
||||
|
||||
.. automethod:: pybricks.hubs::MoveHub.light.blink
|
||||
|
||||
.. automethod:: pybricks.hubs::MoveHub.light.animate
|
||||
|
||||
.. rubric:: Using the battery
|
||||
|
||||
.. automethod:: pybricks.hubs::MoveHub.battery.voltage
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.light.off
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.light.blink
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.light.animate
|
||||
|
||||
.. rubric:: Using the battery
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.battery.voltage
|
||||
|
||||
Reference in New Issue
Block a user