c8x8g 2.0.0.0
|
8x8 G Click example More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint8_t | demo_string [11] = { ' ', '-', 'M', 'i', 'k', 'r', 'o', 'E', '-', ' ', 0 } |
uint8_t | demo_img_on [8] = { 0x08, 0x1c, 0x36, 0x22, 0x08, 0x1c, 0x36, 0x22 } |
uint8_t | demo_img_off [8] = { 0xf7, 0xe3, 0xc9, 0xdd, 0xf7, 0xe3, 0xc9, 0xdd } |
char | demo_char = 'A' |
8x8 G Click example
This demo example shows a drawing of Image, new create string and character on the screen.
The demo application is composed of two sections :
Configuring clicks and log objects. Settings the click in the default configuration.
Shows one byte, then scrolls the string and image, every 1 sec.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
char demo_char = 'A' |
uint8_t demo_img_off[8] = { 0xf7, 0xe3, 0xc9, 0xdd, 0xf7, 0xe3, 0xc9, 0xdd } |
uint8_t demo_img_on[8] = { 0x08, 0x1c, 0x36, 0x22, 0x08, 0x1c, 0x36, 0x22 } |
uint8_t demo_string[11] = { ' ', '-', 'M', 'i', 'k', 'r', 'o', 'E', '-', ' ', 0 } |