mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-12 04:40:58 +00:00
Deploying to gh-pages from master @ 40f235a96c
🚀
This commit is contained in:
parent
62eaf7a454
commit
1a17e19865
@ -359,9 +359,9 @@ rgblight_set(); // Utility functions do not call rgblight_set() automatically, s
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```c
|
```c
|
||||||
rgblight_sethsv(HSV_WHITE, 0); // led 0
|
rgblight_sethsv_at(HSV_WHITE, 0); // led 0
|
||||||
rgblight_sethsv(HSV_RED, 1); // led 1
|
rgblight_sethsv_at(HSV_RED, 1); // led 1
|
||||||
rgblight_sethsv(HSV_GREEN, 2); // led 2
|
rgblight_sethsv_at(HSV_GREEN, 2); // led 2
|
||||||
// The above functions automatically calls rgblight_set(), so there is no need to call it explicitly.
|
// The above functions automatically calls rgblight_set(), so there is no need to call it explicitly.
|
||||||
// Note that it is inefficient to call repeatedly.
|
// Note that it is inefficient to call repeatedly.
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user