Initial Commit

This commit is contained in:
2026-03-27 10:10:47 -04:00
commit cd5dca843e
20 changed files with 537 additions and 0 deletions

32
include/FluidColor.h Normal file
View File

@@ -0,0 +1,32 @@
#ifndef FLUIDCOLOR_H
#define FLUIDCOLOR_H
#include "Animation.h"
#include "GlobalSettings.h"
#include "Utilities.h"
class FluidColor : public Animation {
public:
FluidColor(long _updateTime) : Animation(_updateTime, 15),
colorShifter(0), colors(new CRGB[256]) {
for(uint16_t i = 0; i < 256; i++) {
colors[i] = CRGB(CHSV(i, 255, 255));
}
}
void initialize(CRGB* leds) {
colorShifter = 0;
resetTimer();
}
void execute(CRGB* leds);
private:
uint16_t
colorShifter;
CRGB*
colors;
};
#endif