variable col[3] is used for the white channel
This commit is contained in:
parent
67375b9ab8
commit
440597339b
|
@ -20,7 +20,7 @@ bri | byte (0-255) | Master Brightness (0 is off, 255 is maximum)
|
|||
col[0] | byte (0-255) | Red color value
|
||||
col[1] | byte (0-255) | Green color value
|
||||
col[2] | byte (0-255) | Blue color value
|
||||
white | byte (0-255) | White color value
|
||||
col[3] | byte (0-255) | White color value
|
||||
|
||||
After updating the color, you must call the `colorUpdated(int)` method. If you want to send a notification with the new color to other ESPs, use `colorUpdated(1)`, otherwise `colorUpdated(5)`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue