feat: add led strip class

This commit is contained in:
Andy
2024-12-17 14:03:45 +08:00
committed by Terrence
parent 1820a83256
commit 2e6a278b0d
20 changed files with 449 additions and 133 deletions

View File

@@ -0,0 +1,14 @@
#ifndef _LED_STRIP_EFFECT_V1_H_
#define _LED_STRIP_EFFECT_V1_H_
#include "led_strip_wrapper.h"
class SingleLed : public LedStripWrapper {
public:
SingleLed(gpio_num_t gpio);
virtual ~SingleLed();
void LightOn(LedStripEvent event) override;
};
#endif // _LED_STRIP_EFFECT_V1_H_