Merge pull request #47 from Aircoookie/development

Fixed Blynk FX updates
This commit is contained in:
Aircoookie 2018-08-31 22:36:38 +02:00 committed by GitHub
commit e3b9b341fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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!)

View File

@ -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);
}