Updated Add own functionality (markdown)
This commit is contained in:
parent
8733d7d0a9
commit
6d1e30658f
|
@ -23,7 +23,7 @@ col[1] | byte (0-255) | Green color value
|
|||
col[2] | byte (0-255) | Blue 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)`.
|
||||
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(NOTIFIER_CALL_MODE_DIRECT_CHANGE)`, otherwise `colorUpdated(NOTIFIER_CALL_MODE_NO_NOTIFY)`.
|
||||
|
||||
### Timing
|
||||
|
||||
|
@ -60,7 +60,7 @@ seg.speed = mySpeed;
|
|||
seg.intensity = myIntensity;
|
||||
seg.palette = myPaletteId;
|
||||
```
|
||||
Keep in mind that this will not cause interface updates as of 0.8.6. For that, you still need to use 'colorUpdated(1)'
|
||||
Keep in mind that this will not cause interface updates as of 0.8.6. For that, you still need to use 'colorUpdated(NOTIFIER_CALL_MODE_DIRECT_CHANGE)'
|
||||
|
||||
### Create custom effects
|
||||
|
||||
|
|
Loading…
Reference in New Issue