Skip to content

Commit c6718bd

Browse files
committed
Improved flicker, fixed esp32fs.jar, fixed twinkleFox.h include.
1 parent 5979993 commit c6718bd

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

esp32-fastled-webserver.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@ void loop()
252252

253253
// FastLED.show();
254254
// insert a delay to keep the framerate modest
255-
FastLED.delay(1000 / FRAMES_PER_SECOND);
255+
// FastLED.delay(1000 / FRAMES_PER_SECOND);
256+
delay(1000 / FRAMES_PER_SECOND);
256257
}
257258

258259
void nextPattern()
@@ -266,4 +267,3 @@ void nextPalette()
266267
currentPaletteIndex = (currentPaletteIndex + 1) % paletteCount;
267268
targetPalette = palettes[currentPaletteIndex];
268269
}
269-

esp32fs.jar

-35.7 KB
Binary file not shown.

patterns.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424

2525
#include "palettes.h";
26-
#include "twinkleFOX.h"
26+
#include "twinkleFox.h"
2727

2828
void rainbow()
2929
{
@@ -283,4 +283,3 @@ PatternAndNameList patterns = {
283283
};
284284

285285
const uint8_t patternCount = ARRAY_SIZE(patterns);
286-

0 commit comments

Comments
 (0)