feature: blinking LEDS
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#include "vector"
|
||||
#include "board.h"
|
||||
|
||||
#define BLINKINTERVAL 200
|
||||
|
||||
enum e_ledcolor
|
||||
{
|
||||
YELLOW,
|
||||
@@ -97,6 +99,8 @@ void turnOnLed(uint16_t index);
|
||||
void turnOffAllLed(void);
|
||||
void turnOnAllLed(void);
|
||||
void setAllLeds( bool state);
|
||||
void blinkAllLeds(void);
|
||||
void blinkLed(e_ledcolor blinkled);
|
||||
|
||||
|
||||
#endif //LEDH
|
||||
|
||||
Reference in New Issue
Block a user