Change documentation changing the original LED code to statusLED

This commit is contained in:
Jeroen Harkes authored and Kyle Brown committed 2022-02-20 12:10:04 -08:00
1 parent fd30b7a8d8
commit ecc8b46a2c
1 file changed
+3 -2
+3 -2
View File
@@ -36,11 +36,12 @@ keyboard.extensions.append(statusLED)
All of these values can be set by default for when the keyboard boots. All of these values can be set by default for when the keyboard boots.
```python ```python
from kmk.extensions.led import AnimationModes statusLED = statusLED(
led_ext = LED(
led_pin=led_pin, led_pin=led_pin,
brightness=30, brightness=30,
brightness_step=5, brightness_step=5,
brightness_limit=100, brightness_limit=100,
) )
``` ```
The brightness values are in percentages.