Split firmware into separate files

This commit is contained in:
2019-02-17 22:45:02 -07:00
parent 0ab2ac086f
commit 79c76a57aa
14 changed files with 798 additions and 683 deletions
+22
View File
@@ -0,0 +1,22 @@
#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