Merge pull request #47 from Aircoookie/development
Fixed Blynk FX updates
This commit is contained in:
commit
e3b9b341fd
@ -39,7 +39,7 @@
|
||||
#include "src/dependencies/e131/E131.h"
|
||||
|
||||
//version in format yymmddb (b = daily build)
|
||||
#define VERSION 1808111
|
||||
#define VERSION 1808311
|
||||
char versionString[] = "0.7.1";
|
||||
|
||||
//AP and OTA default passwords (change them!)
|
||||
|
@ -58,18 +58,21 @@ BLYNK_WRITE(V3)
|
||||
BLYNK_WRITE(V4)
|
||||
{
|
||||
effectCurrent = param.asInt()-1;//fx
|
||||
colorUpdated(9);
|
||||
strip.setMode(effectCurrent);
|
||||
colorUpdated(6);
|
||||
}
|
||||
|
||||
BLYNK_WRITE(V5)
|
||||
{
|
||||
effectSpeed = param.asInt();//sx
|
||||
strip.setSpeed(effectSpeed);
|
||||
colorUpdated(6);
|
||||
}
|
||||
|
||||
BLYNK_WRITE(V6)
|
||||
{
|
||||
effectIntensity = param.asInt();//ix
|
||||
strip.setIntensity(effectIntensity);
|
||||
colorUpdated(6);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user