00001
00037 #ifndef _LIGHTS_H_
00038 #define _LIGHTS_H_
00039
00040
00046
00048 #define RED 0xE0
00049
00050 #define ORANGE 0xE4
00051
00052 #define YELLOW 0xE8
00053
00054 #define LIME 0x68
00055
00056 #define GREEN 0x1C
00057
00058 #define CYAN 0x1F
00059
00060 #define BLUE 0x03
00061
00062 #define PINK 0xA6
00063
00064 #define PURPLE 0x41
00065
00066 #define MAGENTA 0xE3
00067
00068 #define WHITE 0xFE
00069
00070 #define ORB_OFF 0xFE //ORB_OFF->WHITE
00071
00073 void orb_init(void);
00075 void orb_set(unsigned char red_led, unsigned char green_led,
00076 unsigned char blue_led);
00078 void orb1_set(unsigned char red_led, unsigned char green_led,
00079 unsigned char blue_led);
00081 void orb2_set(unsigned char red_led, unsigned char green_led,
00082 unsigned char blue_led);
00083
00085 void orb_set_color(int col);
00087 void orb1_set_color(int col);
00089 void orb2_set_color(int col);
00090
00092 void orb_disable(void);
00094 void orb_enable(void);
00095
00097
00098 #endif
00099