You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
299 B
22 lines
299 B
#ifndef LEDS_H |
|
#define LEDS_H |
|
|
|
#include "firmware.h" |
|
|
|
// times below are multiplied by DELAY_TIME, in ms |
|
#define LED_ARMED_BLINK_TIME 50 |
|
#define LED_ERROR_BLINK_TIME 50 |
|
|
|
enum LEDStates |
|
{ |
|
LED_OFF, |
|
LED_ARMED, |
|
LED_ON, |
|
LED_ERROR, |
|
}; |
|
|
|
extern enum LEDStates LEDState; |
|
|
|
void processLEDState(); |
|
|
|
#endif
|
|
|