1 Star 0 Fork 5

raymonlee/Arduino_ESP32_LyricBox

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
MusicLyrics.h 602 Bytes
一键复制 编辑 原始数据 按行查看 历史
mingyee 提交于 2022-10-24 02:05 . Arduino_ESP32_LyricBox
#ifndef __MusicLyrics_H__
#define __MusicLyrics_H__
#include "dot2d.h"
#define LYRICS_COLOR_NUM 8
NS_DT_BEGIN
class MusicLyrics : public Scene
{
protected:
bool init() override;
public:
STATIC_CREATE(MusicLyrics);
};
class MusicLyricsLayer : public Layer
{
protected:
SpriteCanvas * canvas = nullptr;
//TextSprite *timeText = nullptr;
public:
STATIC_CREATE(MusicLyricsLayer);
uint16_t tcount;
virtual bool initLayer();
virtual ~MusicLyricsLayer();
void update(float dt);
protected:
char spectrum[32];
};
NS_DT_END
#endif //__MusicLyrics_H__
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/raymonlee/Arduino_ESP32_LyricBox.git
git@gitee.com:raymonlee/Arduino_ESP32_LyricBox.git
raymonlee
Arduino_ESP32_LyricBox
Arduino_ESP32_LyricBox
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385