Revision 669
orb library should work
code format is correct with _BV()
orb.h | ||
---|---|---|
35 | 35 |
#ifndef _ORB_H_ |
36 | 36 |
#define _ORB_H_ |
37 | 37 |
|
38 |
#define BYTEMASK 0b11111111
|
|
39 |
#define PURPLE 0xFF00FF
|
|
38 |
#define BYTEMASK 0b1111111 |
|
39 |
#define FUSCHIA 0xFF00FF
|
|
40 | 40 |
#define TEAL 0xFFFF |
41 | 41 |
#define WHITE 0xFFFFFF |
42 |
#define ORANGE 0xFFFF00 |
|
42 | 43 |
|
43 |
|
|
44 | 44 |
/** |
45 | 45 |
* @addtogroup orbs |
46 | 46 |
* @{ |
... | ... | |
49 | 49 |
/** @brief Enables the orbs **/ |
50 | 50 |
int orb_init(void); |
51 | 51 |
/** @brief Set both orbs to a specified color **/ |
52 |
int set_orb (int red, int green, int blue);
|
|
52 |
int set_orb(int red, int green, int blue); |
|
53 | 53 |
/** @brief Set orb to a specified color **/ |
54 |
int Set_orb (int color);
|
|
54 |
int set_color(long color);
|
|
55 | 55 |
|
56 | 56 |
/** @} **/ //end addtogroup |
57 | 57 |
|
Also available in: Unified diff