2025-11-04 22:02:49 +08:00
|
|
|
#ifndef ws2812status_H
|
|
|
|
|
#define ws2812status_H
|
2025-11-03 22:14:44 +08:00
|
|
|
|
|
|
|
|
/*---------------------INCLUDES----------------------*/
|
|
|
|
|
#include "main.h"
|
|
|
|
|
#include "cmsis_os.h"
|
|
|
|
|
#include "tim.h"
|
|
|
|
|
#include "ws2812.h"
|
|
|
|
|
|
|
|
|
|
/*---------------------FUNCTIONS---------------------*/
|
2025-11-05 15:04:29 +08:00
|
|
|
void ws2812Task(void *argument);
|
2025-11-03 22:14:44 +08:00
|
|
|
|
2025-11-15 20:52:09 +08:00
|
|
|
void robotSelfCheck(void);
|
|
|
|
|
|
2025-11-03 22:14:44 +08:00
|
|
|
void BlinkYellow(void);
|
|
|
|
|
|
|
|
|
|
void BlinkRed(void);
|
|
|
|
|
|
|
|
|
|
void BlinkBlue(void);
|
|
|
|
|
|
|
|
|
|
void BlinkGreen(void);
|
|
|
|
|
|
|
|
|
|
void BlinkWhite(void);
|
|
|
|
|
|
|
|
|
|
void BlinkCyan(void);
|
|
|
|
|
|
|
|
|
|
void BlinkPurple(void);
|
|
|
|
|
|
|
|
|
|
#endif
|