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.
18 lines
289 B
18 lines
289 B
9 years ago
|
#ifndef BLINKY_H
|
||
|
#define BLINKY_H
|
||
|
#include "utils/timebase.h"
|
||
|
|
||
|
enum led_nr {
|
||
|
LED_READY,
|
||
|
LED_BUSY,
|
||
|
LED_ERROR,
|
||
|
LED_SPARE
|
||
|
};
|
||
|
|
||
|
void led_on(enum led_nr led);
|
||
|
void led_off(enum led_nr led);
|
||
|
void led_toggle(enum led_nr led);
|
||
|
void led_blink(enum led_nr led, ms_time_t ms);
|
||
|
|
||
|
#endif // BLINKY_H
|