c8800retro 2.0.0.0
|
8800Retro Click example More...
Enumerations | |
enum | c8800retro_demo_example_t { DEMO_KEYPAD4x4 , DEMO_FULL_CHARSET , DEMO_TEXT , DEMO_IMAGE } |
8800 Retro Click demo example values. More... | |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint8_t | c8800retro_demo_string [9] = { ' ', 'M', 'i', 'k', 'r', 'o', 'E', ' ', 0 } |
uint8_t | c8800retro_demo_logo_mikroe [8] = { 0x7F, 0xFF, 0xC0, 0xFF, 0xFF, 0xC0, 0xFF, 0x7F } |
8800Retro Click example
This example demonstrates the use of 8800 Retro click board.
The demo application is composed of two sections :
Initializes the driver and issues the click default configuration, then asks the user to select the demo example using the on-board KeyPad.
There are 4 different demo examples: KeyPad 4x4, Full charset, Text, and Image. This function will run the previously selected demo example in the loop. The user can always switch the example by pressing the button D4 three times in a row. In order to run the demo examples successfully, please follow the instructions logged on the USB UART.
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 | ) |
uint8_t c8800retro_demo_logo_mikroe[8] = { 0x7F, 0xFF, 0xC0, 0xFF, 0xFF, 0xC0, 0xFF, 0x7F } |
uint8_t c8800retro_demo_string[9] = { ' ', 'M', 'i', 'k', 'r', 'o', 'E', ' ', 0 } |