feature: blinking LEDS

This commit is contained in:
2021-10-23 12:01:35 +02:00
parent 56c3f749e1
commit 2e5caea417
2 changed files with 76 additions and 0 deletions

View File

@@ -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