4
0
Fork 0
mirror of https://github.com/zzzzDev4/IAS-Better-Tea.git synced 2025-04-21 07:31:20 +02:00
firmware/src/SmartStrip.hpp
2024-05-21 22:39:13 +02:00

24 lines
No EOL
344 B
C++

#pragma once
#include <FastLED.h>
#define PIXELCOUNT 15
class SmartStrip
{
public:
void init();
void reset();
void setGreen(int led);
void animateBottomToTop(int r, int g, int b);
void progressBar(int min, int max, int val);
private:
CRGB leds[PIXELCOUNT]; // Define the array of leds
int lastLevel = -1;
};