eink213inch  2.0.0.0
Functions | Variables
main.c File Reference

eInk213Inch Click example More...

#include "board.h"
#include "log.h"
#include "eink213inch.h"
#include "eink213inch_font.h"
#include "eink213inch_image.h"

Functions

void application_init (void)
 
void application_task (void)
 
int main (void)
 

Variables

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] = { '2', '.', '1', '3', 'i', 'n', 'c', 'h', 0 }
 
const uint8_t eink213inch_lut_table [70]
 

Detailed Description

eInk213Inch 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 2.13 inch eINK display. After that, if the TEXT mode is supported, shows a desired text messages on the display.

Application Task

Draws four 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.

*** Changing the LUT table can lead to loss of display performance ....

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

int main ( void  )

Variable Documentation

◆ demo_text

uint8_t demo_text[5] = { 'e', 'I', 'N', 'K', 0 }

◆ demo_text1

uint8_t demo_text1[8] = { 'D', 'i', 's', 'p', 'l', 'a', 'y', 0 }

◆ demo_text2

uint8_t demo_text2[10] = { '2', '.', '1', '3', 'i', 'n', 'c', 'h', 0 }

◆ eink213inch_lut_table

const uint8_t eink213inch_lut_table[70]
Initial value:
=
{
0xA0,0x90,0x50,0x00,0x00,0x00,0x00,
0x50,0x90,0xA0,0x00,0x00,0x00,0x00,
0xA0,0x90,0x50,0x00,0x00,0x00,0x00,
0x50,0x90,0xA0,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x0F,0x0F,0x0F,0x0F,0x02,0x10,0x10,
0x0A,0x0A,0x03,0x08,0x08,0x09,0x43,
0x07,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00
}