Change documentation changing the original LED code to statusLED
This commit is contained in:
parent
fd30b7a8d8
commit
ecc8b46a2c
@ -36,11 +36,12 @@ keyboard.extensions.append(statusLED)
|
||||
All of these values can be set by default for when the keyboard boots.
|
||||
|
||||
```python
|
||||
from kmk.extensions.led import AnimationModes
|
||||
led_ext = LED(
|
||||
statusLED = statusLED(
|
||||
led_pin=led_pin,
|
||||
brightness=30,
|
||||
brightness_step=5,
|
||||
brightness_limit=100,
|
||||
)
|
||||
```
|
||||
|
||||
The brightness values are in percentages.
|
||||
|
Loading…
Reference in New Issue
Block a user