mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-12-08 20:39:01 +00:00
@@ -291,7 +291,7 @@ A collection of LEDs can be treated like a bar graph using
|
|||||||
graph.value = -1 # (1, 1, 1, 1, 1, 1)
|
graph.value = -1 # (1, 1, 1, 1, 1, 1)
|
||||||
sleep(1)
|
sleep(1)
|
||||||
|
|
||||||
Note values are essentially rounded to encounter the fact LEDs can only be on
|
Note values are essentially rounded to account for the fact LEDs can only be on
|
||||||
or off when ``pwm=False`` (the default).
|
or off when ``pwm=False`` (the default).
|
||||||
|
|
||||||
However, using :class:`LEDBarGraph` with ``pwm=True`` allows more precise
|
However, using :class:`LEDBarGraph` with ``pwm=True`` allows more precise
|
||||||
|
|||||||
Reference in New Issue
Block a user