add waveshare esp32-s3-lcd-0.85

This commit is contained in:
shunian11
2026-03-20 11:03:29 +08:00
parent 619dd2801c
commit a4bf13b30d
9 changed files with 809 additions and 1 deletions

View File

@ -0,0 +1,18 @@
#ifndef LED_STRIP_CONTROL_H
#define LED_STRIP_CONTROL_H
#include "led/circular_strip.h"
class LedStripControl {
private:
CircularStrip* led_strip_;
int brightness_level_; // 亮度等级 (0-8)
int LevelToBrightness(int level) const; // 将等级转换为实际亮度值
StripColor RGBToColor(int red, int green, int blue);
public:
explicit LedStripControl(CircularStrip* led_strip);
};
#endif // LED_STRIP_CONTROL_H