mirror of
https://github.com/AlexGyver/GyverLamp.git
synced 2025-08-09 17:29:12 +03:00
upd
This commit is contained in:
@@ -14,6 +14,7 @@ void parseUDP() {
|
||||
currentMode = (byte)inputBuffer.substring(3).toInt();
|
||||
loadingFlag = true;
|
||||
sendCurrent();
|
||||
FastLED.setBrightness(modes[currentMode].brightness);
|
||||
} else if (inputBuffer.startsWith("BRI")) {
|
||||
modes[currentMode].brightness = inputBuffer.substring(3).toInt();
|
||||
FastLED.setBrightness(modes[currentMode].brightness);
|
||||
|
Reference in New Issue
Block a user