eink_200inch
2.0.0.0
|
eINK click is an adapter Click boardâ„¢, used to interface a compatible eINK display with the host MCU.
We provide a library for the Eink200Inch 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 Eink200Inch Click driver.
void eink_200inch_cfg_setup ( eink_200inch_cfg_t *cfg );
EINK_200INCH_RETVAL eink_200inch_init ( eink_200inch_t *ctx, eink_200inch_cfg_t *cfg );
void eink200_set_lut ( eink_200inch_t *ctx, const uint8_t *lut, uint8_t n_bytes );
void eink200_display_image ( eink_200inch_t ctx, const uint8_t image_buffer );
void eink200_set_font ( eink_200inch_t *ctx, eink_200inch_font_t *cfg_font );
This application demonstrates the use of eINK click board.
The demo application is composed of two sections :
Initializes the driver and configures the click board for 2.00 inch eINK display. After that, if the TEXT mode is supported, shows a desired text messages on the display.
Draws two demo images to the display with a one-second delay between each drawing.
Due to insuficient RAM memory, only the IMAGE mode is supported with 8-bit PIC microcontrollers.
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.