00001 #ifndef LED_H
00002 #define LED_H
00003 #include <stdint.h>
00004
00017 typedef enum {
00018 RED0=0, YELLOW0=1, GREEN0=2, BLUE0=3,
00019 RED1=4, YELLOW1=5, GREEN1=6, BLUE1=7
00020 } LED;
00021
00030 int8_t sb_led_on(LED led);
00031
00040 int8_t sb_led_off(LED led);
00041
00050 int8_t sb_led_toggle(LED led);
00051
00066 int8_t sb_led_showLevel(uint8_t level, uint8_t max);
00067
00076 void sb_led_set_all_leds(uint8_t setting);
00077
00078 #endif
00079