1 Star 0 Fork 6

simonliu009/Arduino_ESP32_LyricBox

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Arduino_ESP32_LyricBox.ino 694 Bytes
一键复制 编辑 原始数据 按行查看 历史
mingyee 提交于 2022-10-24 02:05 +08:00 . Arduino_ESP32_LyricBox
#include <Arduino.h>
#include <FastLED.h>
#include "paintingclass.h"
// Sets the name of the audio device
btMusicBox music = btMusicBox("荡秋千过河的小明同学");
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Wire.begin(I2C_SDA,I2C_SCL,I2C_FREQ);
Audio_codeC(ES8388);
music.begin();
music.I2S(I2S_BCK, I2S_DOUT, I2S_WS);
music.reconnect(); // Re-connects to last connected device
attendpaintingclass();// attendpaintingclass
}
void loop() {
// put your main code here, to run repeatedly:
delay(10);
ADC_KeyScan();
painting->mainLoop(); //paintingclass
audioLyricsupdate(100);//update musicLyrics
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/simonliu009/Arduino_ESP32_LyricBox.git
git@gitee.com:simonliu009/Arduino_ESP32_LyricBox.git
simonliu009
Arduino_ESP32_LyricBox
Arduino_ESP32_LyricBox
master

搜索帮助