00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00033 #ifndef __LED_H__
00034 #define __LED_H__
00035
00039 typedef enum {
00040 RedLED = 0,
00041 GreenLED = 1,
00042 } LED_COLOR_T;
00043
00044 #ifdef __cplusplus
00045 extern "C" {
00046 #endif
00047
00049 void led_init(void);
00050
00052 void led_on(LED_COLOR_T color);
00053
00055 void led_off(LED_COLOR_T color);
00056
00058 void led_toggle(LED_COLOR_T color);
00059
00060 #ifdef __cplusplus
00061 }
00062 #endif
00063
00064 #endif
00065