Commit 539c7fb8 authored by zenox's avatar zenox
Browse files

documentation added

parent c9de9e71
......@@ -94,6 +94,19 @@ def 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):
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment