Files
quadrotor/led.h
Gavan Fantom 999e129e2c Improve handling of arming, providing LED blink codes if the arming fails.
Also, implement a software watchdog to make sure that the main real-time
modules are actually being run. Provide a panic facility, also giving blink
codes to indicate the panic reason.
2012-09-22 12:08:07 +00:00

14 lines
263 B
C

/* led.h */
#include "timer.h"
typedef unsigned int led_pattern;
extern led_pattern led_pattern_active[];
extern led_pattern led_pattern_unknown[];
void led_init(void);
void led_set(bool on);
void led_update(void);
void led_set_pattern(led_pattern *pattern);