Skip to content

This library is created for WaveShare 2.13inch white,black,yellow (or red) version of the epaper display.

Notifications You must be signed in to change notification settings

kpierzynski/AVR_2in13c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AVR_2in13c

This library is created for WaveShare 2.13inch white,black,yellow (or red) version of the epaper display.

  • Library uses saved in PROGMEM images to display on epaper
  • In rle_converter there are two programs: bmp2c and c2rle.
  • bmp2c converts monochrome bmp to C array. Note that image has to be rotated to left and then flipped vertically to work.
  • c2rle compress array from bmp2c and produce compressed result.

Functions

void paper_init();

Initialize WaveShare 2.13inchC display


void paper_display(const uint8_t *black, const uint8_t *color);

Send two buffers, black and colored from PROGMEM to the display.


void paper_rle_display(const uint8_t *compressed);

Send only black (but can be easily extended for color) buffer to the display, but buffer is compressed with RLE encoding.


void paper_clear();

Clears whole display


void paper_sleep();

Put display to sleep. It is important step, display can get damaged if not turned off.


About

This library is created for WaveShare 2.13inch white,black,yellow (or red) version of the epaper display.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published