Bugfix on disable GY-33
This commit is contained in:
BPoH_Voodoo
2018-04-15 11:07:03 +02:00
parent c55a74ea25
commit 78d7037d1f
2 changed files with 6 additions and 7 deletions
+5 -2
View File
@@ -96,7 +96,7 @@ WebSocketsServer webSocket = WebSocketsServer(81);
// Load libraries / Instanciate NeoAnimationFX library
// ***************************************************************************
// https://github.com/debsahu/NeoAnimationFX
#include <NeoAnimationFX.h>
#include "NeoAnimationFX.h"
#define NEOMETHOD NeoPBBGRB800
NEOMETHOD neoStrip(NUMLEDS);
@@ -869,7 +869,10 @@ DBG_OUTPUT_PORT.println("Starting....");
}
sprintf(last_state, "STA|%2d|%3d|%3d|%3d|%3d|%3d|%3d|%3d", mode, ws2812fx_mode, ws2812fx_speed, brightness, main_color.white, main_color.red, main_color.green, main_color.blue);
#endif
tcs.setConfig(MCU_LED_05, MCU_WHITE_ON);
#ifdef ENABLE_BUTTON_GY33
tcs.setConfig(MCU_LED_05, MCU_WHITE_ON);
#endif
}
void loop() {