mirror of
https://github.com/gunner47/GyverLamp.git
synced 2025-08-08 17:30:59 +03:00
upd
This commit is contained in:
@@ -45,7 +45,7 @@ void effectsTick() {
|
||||
void changePower() {
|
||||
if (ONflag) {
|
||||
effectsTick();
|
||||
for (int i = 0; i < modes[currentMode].brightness; i += 5) {
|
||||
for (int i = 0; i < modes[currentMode].brightness; i += 8) {
|
||||
FastLED.setBrightness(i);
|
||||
delay(1);
|
||||
FastLED.show();
|
||||
@@ -54,7 +54,7 @@ void changePower() {
|
||||
FastLED.show();
|
||||
} else {
|
||||
effectsTick();
|
||||
for (int i = modes[currentMode].brightness; i > 8; i -= 5) {
|
||||
for (int i = modes[currentMode].brightness; i > 8; i -= 8) {
|
||||
FastLED.setBrightness(i);
|
||||
delay(1);
|
||||
FastLED.show();
|
||||
|
Reference in New Issue
Block a user