00001
00011 #ifndef _LIGHTS_H_
00012 #define _LIGHTS_H_
00013
00014
00020
00022 #define RED 0xE0
00023
00024 #define ORANGE 0xE4
00025
00026 #define YELLOW 0xE8
00027
00028 #define LIME 0x68
00029
00030 #define GREEN 0x1C
00031
00032 #define CYAN 0x1F
00033
00034 #define BLUE 0x03
00035
00036 #define PINK 0xA6
00037
00038 #define PURPLE 0x41
00039
00040 #define MAGENTA 0xE3
00041
00042 #define WHITE 0xFE
00043
00044 #define ORB_OFF 0xFE //ORB_OFF->WHITE
00045
00047 void orb_init(void);
00049 void orb_set(unsigned char red_led, unsigned char green_led,
00050 unsigned char blue_led);
00052 void orb1_set(unsigned char red_led, unsigned char green_led,
00053 unsigned char blue_led);
00055 void orb2_set(unsigned char red_led, unsigned char green_led,
00056 unsigned char blue_led);
00057
00059 void orb_set_color(int col);
00061 void orb1_set_color(int col);
00063 void orb2_set_color(int col);
00064
00066 void orb_disable(void);
00068 void orb_enable(void);
00069
00071
00072 #endif
00073