Merge pull request #46 from kayrozen/master

Fixed blynk code
pull/47/head
Aircoookie 2018-08-31 22:35:50 +02:00 zatwierdzone przez GitHub
commit 95083cf743
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

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