blink1_readRGB

Read current RGB value on specified LED. @note For mk2 devices only. @param dev blink1 device to command @param r pointer to red part of RGB color @param g pointer to green part of RGB color @param b pointer to blue part of RGB color @param n which LED to get (0=1st, 1=1st LED, 2=2nd LED) @return -1 on error, 0 on success

extern (C)
int
blink1_readRGB
(,
ushort* fadeMillis
,
ubyte* r
,
ubyte* g
,
ubyte* b
,
ubyte ledn
)

Meta