Subversion Repositories Code-Repo

Rev

Rev 264 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 264 Rev 266
Line 64... Line 64...
64
#define CUBE_ETH_ROTATE             0x0C
64
#define CUBE_ETH_ROTATE             0x0C
65
#define CUBE_ETH_ROTATE_LAYER       0x0D
65
#define CUBE_ETH_ROTATE_LAYER       0x0D
66
#define CUBE_ETH_WRITE_ALL          0x10
66
#define CUBE_ETH_WRITE_ALL          0x10
67
#define CUBE_ETH_WRITE_PIXEL        0x11
67
#define CUBE_ETH_WRITE_PIXEL        0x11
68
#define CUBE_ETH_WRITE_CHANNEL      0x12
68
#define CUBE_ETH_WRITE_CHANNEL      0x12
69
#define CUBE_ETH_WRITE_TEXT         0x20
69
#define CUBE_ETH_WRITE_TEXT_SCROLL  0x20
-
 
70
#define CUBE_ETH_WRITE_TEXT_STATIC  0x21
-
 
71
#define CUBE_EHT_WRITE_TEXT_INSERT  0x22
70
#define CUBE_ETH_WATERFALL          0x30
72
#define CUBE_ETH_WATERFALL          0x30
71
#define CUBE_ETH_SPHERE             0x31
73
#define CUBE_ETH_SPHERE             0x31
72
 
74
 
73
typedef enum {
75
typedef enum {
74
    IDLE,
76
    IDLE,
Line 137... Line 139...
137
void Cube_Overlay_Move_Pixel(uint8_t layer1, uint8_t row1, uint8_t column1, uint8_t layer2, uint8_t row2, uint8_t column2);
139
void Cube_Overlay_Move_Pixel(uint8_t layer1, uint8_t row1, uint8_t column1, uint8_t layer2, uint8_t row2, uint8_t column2);
138
void Cube_Overlay_Rotate_Shell(uint8_t shell, uint8_t direction);
140
void Cube_Overlay_Rotate_Shell(uint8_t shell, uint8_t direction);
139
 
141
 
140
// Text control functions
142
// Text control functions
141
void Cube_Text_Init(uint8_t *string, uint8_t length, uint16_t R, uint16_t G, uint16_t B);
143
void Cube_Text_Init(uint8_t *string, uint8_t length, uint16_t R, uint16_t G, uint16_t B);
-
 
144
void Cube_Text_Update(void);
-
 
145
void Cube_Text_Insert(uint8_t c, uint16_t R, uint16_t G, uint16_t B);
142
void Cube_Text_Interrupt(void);
146
void Cube_Text_Interrupt(void);
143
 
147
 
144
// Data stream in control functions
148
// Data stream in control functions
145
// UART functions
149
// UART functions
146
void Cube_Data_In(uint8_t c);
150
void Cube_Data_In(uint8_t c);