~ruther/qmk_firmware

6f55aa993a4498f411c97025049d92019414af68 — Frei 5 years ago e347645
[docs] Note the need to flash both sides for rgb layers. (#8467)

Update feature_rgblight.md to note that for split dual-mcu boards, 
both sides must be flash to get the new value of the rgblight_layers.

https://github.com/qmk/qmk_firmware/pull/7768#issuecomment-600237611
1 files changed, 2 insertions(+), 0 deletions(-)

M docs/feature_rgblight.md
M docs/feature_rgblight.md => docs/feature_rgblight.md +2 -0
@@ 228,6 228,8 @@ bool led_update_user(led_t led_state) {
}
```

Note: For split keyboards with two controllers, both sides need to be flashed when updating the contents of rgblight_layers.

## Functions

If you need to change your RGB lighting in code, for example in a macro to change the color whenever you switch layers, QMK provides a set of functions to assist you. See [`rgblight.h`](https://github.com/qmk/qmk_firmware/blob/master/quantum/rgblight.h) for the full list, but the most commonly used functions include: