fix blynk
This commit is contained in:
parent
82d40f60f1
commit
fe178043ee
@ -58,18 +58,21 @@ BLYNK_WRITE(V3)
|
|||||||
BLYNK_WRITE(V4)
|
BLYNK_WRITE(V4)
|
||||||
{
|
{
|
||||||
effectCurrent = param.asInt()-1;//fx
|
effectCurrent = param.asInt()-1;//fx
|
||||||
colorUpdated(9);
|
strip.setMode(effectCurrent);
|
||||||
|
colorUpdated(6);
|
||||||
}
|
}
|
||||||
|
|
||||||
BLYNK_WRITE(V5)
|
BLYNK_WRITE(V5)
|
||||||
{
|
{
|
||||||
effectSpeed = param.asInt();//sx
|
effectSpeed = param.asInt();//sx
|
||||||
|
strip.setSpeed(effectSpeed);
|
||||||
colorUpdated(6);
|
colorUpdated(6);
|
||||||
}
|
}
|
||||||
|
|
||||||
BLYNK_WRITE(V6)
|
BLYNK_WRITE(V6)
|
||||||
{
|
{
|
||||||
effectIntensity = param.asInt();//ix
|
effectIntensity = param.asInt();//ix
|
||||||
|
strip.setIntensity(effectIntensity);
|
||||||
colorUpdated(6);
|
colorUpdated(6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user