oledc 2.0.0.0
|
OLED C click is equipped with the 96x96 high-color OLED display. It can display up to 65K/262K different colors and shades on a compact size display, based on the OLED technology.
We provide a library for the OledC Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for OledC Click driver.
- Initialization function.void oledc_cfg_setup ( oledc_cfg_t *cfg );
OLEDC_RETVAL oledc_init ( oledc_t *ctx, oledc_cfg_t *cfg );
void oledc_default_cfg ( oledc_t *ctx );
void oledc_image( oledc_t *ctx, const uint8_t *img, uint8_t column_off, uint8_t row_off );
This demo demonstrates the use of the OLED C click board and the control of the OLED C display.
The demo application is composed of two sections :
Initializes driver init and OLED C init and sets full screen on white color with writting demo text.
This function is composed of three sections :
- Display demo rectangle.
- Display demo line.
- Display demo image.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
Other mikroE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.