mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-12-08 20:39:01 +00:00
Merge pull request #312 from lurch/rgbled_pulse
Add RGBLED.pulse method
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