From 6d1e30658fed430f4c29d766b4a4f0fda3592dc4 Mon Sep 17 00:00:00 2001 From: Def3nder Date: Mon, 7 Sep 2020 15:45:13 +0200 Subject: [PATCH] Updated Add own functionality (markdown) --- Add-own-functionality.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Add-own-functionality.md b/Add-own-functionality.md index 7e2f96a..e3c709c 100644 --- a/Add-own-functionality.md +++ b/Add-own-functionality.md @@ -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