29
main/include/indicator.h
Normal file
29
main/include/indicator.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// Created by shinys on 25. 7. 29.
|
||||
//
|
||||
|
||||
#ifndef LED_H
|
||||
#define LED_H
|
||||
|
||||
enum blink_type
|
||||
{
|
||||
BLINK_SLOW = 0,
|
||||
BLINK_FAST,
|
||||
BLINK_DOUBLE,
|
||||
BLINK_TRIPLE,
|
||||
BLINK_SOLID,
|
||||
BLINK_MAX,
|
||||
};
|
||||
|
||||
enum blink_led
|
||||
{
|
||||
LED_RED = 0,
|
||||
LED_BLU = 1,
|
||||
LED_MAX,
|
||||
};
|
||||
|
||||
void init_led(void);
|
||||
void led_set(enum blink_led led, enum blink_type type);
|
||||
void led_off(enum blink_led led);
|
||||
|
||||
#endif //LED_H
|
||||
Reference in New Issue
Block a user