diff options
author | Daniel Hoek <scycer1@hotmail.com> | 2018-03-24 10:10:32 +1100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-03-23 16:10:32 -0700 |
commit | 3ee59a79aaa333c82e088a2e359a16fa37a2352f (patch) | |
tree | 9d172bfa34ffdbfaf3aad96b159ce0e9e290f5f0 /docs | |
parent | 824d584d8cf20337350f657e849aa2a9b4b68ed0 (diff) | |
download | qmk_firmware-3ee59a79aaa333c82e088a2e359a16fa37a2352f.tar.gz |
Add HSV value specification (#2481)
* Update feature_rgblight.md
I got caught out with this as most color pickers use a percentage NOT 0-255 for this number
* Amended description
Woops! Was focused on s/v not being a percentage i got h wrong.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/feature_rgblight.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_rgblight.md b/docs/feature_rgblight.md index 17097f4bc..571bf8668 100644 --- a/docs/feature_rgblight.md +++ b/docs/feature_rgblight.md @@ -92,7 +92,7 @@ rgblight_disable(); // turn all lights off rgblight_enable(); // turn lights on, based on their previous state (stored in EEPROM) rgblight_setrgb(r, g, b); // where r/g/b is a number from 0..255. Turns all the LEDs to this color -rgblight_sethsv(h, s, v); // HSV color control +rgblight_sethsv(h, s, v); // HSV color control - h is a value from 0..360 and s/v is a value from 0..255 rgblight_setrgb_at(r,g,b, LED); // control a single LED. 0 <= LED < RGBLED_NUM rgblight_sethsv_at(h,s,v, LED); // control a single LED. 0 <= LED < RGBLED_NUM ``` |