|
const uint8_t | eink154inch_lut_table [30] |
|
uint8_t | demo_text [5] = { 'e', 'I', 'N', 'K' , 0 } |
|
uint8_t | demo_text1 [8] = { 'D', 'i', 's', 'p', 'l', 'a', 'y', 0 } |
|
uint8_t | demo_text2 [10] = { '1', '.', '5', '4', 'i', 'n', 'c', 'h', 0 } |
|
Eink154Inch Click example.
Description
This application demonstrates the use of eINK click board.
The demo application is composed of two sections :
Application Init
Initializes the driver and configures the click board for 1.54 inch eINK display. After that, if the TEXT mode is supported, shows a desired text messages on the display.
Application Task
Draws two demo images to the display with a one-second delay between each drawing.
- Note
- Due to insuficient RAM memory, only the IMAGE mode is supported with 8-bit PIC and AVR microcontrollers.
Here is the procedure for creating an Image or Font arrays:
- Create Image: Save the image in resolution of 200x200 px with the extension (monochrome bmp) ... Upload the image to Image2Lcd program Set parameters to:
- Output file type : C array
- Scan Mode : Horizon scan
- Bits Pixel : monochrome
- Max Width and Height : 200x200
- Select only MSB first checkmark
- Check Reverse color and adjust Normal type The image to be generated should contain about 5000 bytes ... Insert the image into the file eink154inch_image.h
- Create Font: Create a new VisualTFT project Add label and adjust text font Generate source code Copy the font array from resource.c file and paste it to eink154inch_font.h file
*** Changing the LUT table can lead to loss of display performance ....
- Author
- MikroE Team