Skip to content
Snippets Groups Projects
Commit 539c7fb8 authored by zenox's avatar zenox
Browse files

documentation added

parent c9de9e71
No related branches found
No related tags found
1 merge request!325flash_rocket
...@@ -94,6 +94,19 @@ def get_rocket(led): ...@@ -94,6 +94,19 @@ def get_rocket(led):
""" """
return sys_leds.get_rocket(led) return sys_leds.get_rocket(led)
def blink_rocket(led, value, millis):
"""
Let one of the rockets blink for a certain time without
blocking the python interpreter.
:param int led: Choose your rocket!
:param int value: brightness value (0 < value < 32)
:param int millis: duration of the rocket being on in milliseconds.
.. versionadded:: 1.??
"""
return sys_leds.blink_rocket(led, value, millis)
def dim_top(value): def dim_top(value):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment