mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Add RGBLED.pulse method
Also add timing tests to all the blink unit-tests
This commit is contained in:
@@ -23,13 +23,13 @@ PWMLED
|
||||
======
|
||||
|
||||
.. autoclass:: PWMLED(pin, active_high=True, initial_value=0, frequency=100)
|
||||
:members: on, off, toggle, blink, pin, is_lit, value
|
||||
:members: on, off, toggle, blink, pulse, pin, is_lit, value
|
||||
|
||||
RGBLED
|
||||
======
|
||||
|
||||
.. autoclass:: RGBLED(red, green, blue, active_high=True, initial_value=(0, 0, 0))
|
||||
:members: on, off, toggle, blink, red, green, blue, is_lit, color
|
||||
:members: on, off, toggle, blink, pulse, red, green, blue, is_lit, color
|
||||
|
||||
Buzzer
|
||||
======
|
||||
|
||||
Reference in New Issue
Block a user