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.
|
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user