mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-24 03:27:45 +08:00
add ws2812task
This commit is contained in:
28
User_Code/application/indicator_app/ws2812status.h
Normal file
28
User_Code/application/indicator_app/ws2812status.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef ws2812Task_H
|
||||
#define ws2812Task_H
|
||||
|
||||
/*---------------------INCLUDES----------------------*/
|
||||
#include "main.h"
|
||||
#include "cmsis_os.h"
|
||||
#include "tim.h"
|
||||
#include "ws2812.h"
|
||||
|
||||
/*---------------------FUNCTIONS---------------------*/
|
||||
void ws2812Task(void const *argument);
|
||||
|
||||
void BlinkYellow(void);
|
||||
|
||||
void BlinkRed(void);
|
||||
|
||||
void BlinkBlue(void);
|
||||
|
||||
void BlinkGreen(void);
|
||||
|
||||
void BlinkWhite(void);
|
||||
|
||||
void BlinkCyan(void);
|
||||
|
||||
void BlinkPurple(void);
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user