添加了用例

This commit is contained in:
2023-11-11 21:03:35 +08:00
parent f7d00e8b3d
commit 8b20421b50
6 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
/** @brief RGB循环呼吸
* @author Vergil Wong
* @date 2023-11-11
* @param
* @return
*/
#include "stdint.h"
#include <stdio.h> // 包含基本的输入输出函数
#include <platform.h> // 包含对封装的定义,引用以使用 on tile[] 语法
#include "rgb_effect.h"
int main() // 定义主函数
{
par
{
on tile[1]:
{
cycleRGB_driver();
}
}
return 0; // 返回0表示程序正常结束
}