特性:新增 WS2812 组件并迁移至 ESP32-C3

更新编译器路径:切换至 RISC-V 工具链,以支持 ESP32-C3 芯片。
新增 WS2812 组件:集成了基于 RMT(远程控制器)外设的驱动程序,用于控制 RGB LED。
配置烧录方式:将 IDF 的 Flash 烧录类型配置为 UART 模式。
This commit is contained in:
Wang Beihong
2026-04-05 20:42:45 +08:00
parent 400bf83204
commit f6a1d3af7e
9 changed files with 162 additions and 5 deletions

View File

@@ -1,6 +1,10 @@
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "ws2812.h"
void app_main(void)
{
ws2812_start_task();
vTaskDelete(NULL);
}