variable col[3] is used for the white channel

This commit is contained in:
Def3nder 2020-01-08 15:57:29 +01:00
parent 67375b9ab8
commit 440597339b
1 changed files with 1 additions and 1 deletions

View File

@ -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)`.