Commit af87069a authored by springob's avatar springob

* bob3 arduino lib


git-svn-id: svn://svn.code.sf.net/p/nibo/code/niborobolib/trunk/arduino16/libraries/BOB3/src@313 2d339c8f-7935-0410-b692-f2b57624aac1
parent 3ddfe3a0
......@@ -197,6 +197,10 @@ uint16_t mixColor(uint16_t color1, uint16_t color2, uint8_t w1, uint8_t w2) {
uint16_t hsvx(uint8_t h, uint8_t _s, uint8_t _v) {
// h: [0..255]
// _s: [0..255]
// _v: [0..255]
if (_s == 0) {
_v >>= 4;
return rgb(_v,_v,_v);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment