Skip to content

afro-coder/epaper-badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pico 2.7 ePaper Code

This is a badge I made using the waveshare 2.7 inch ePaper pico display

The fbimage.py is used to convert images from pbm to bytecode in the Framebuffer format. I found it from this repository.

To display images on the e-paper, we have to first convert the image to Black and White I used Gimp to do that.

  • In Gimp open the image => Go to the Image Option Click on Mode => Indexed => Select Black and white mode

  • Then make sure to scale the image to the size you want it to be.

  • Save the image as bmp and then go to the command line, you'll need imagick for this.

convert image.bmp image.pbm
  • Once you export the image to bmp, run the python script python fbimage.py image.pbm

Then copy the hexdump and add it to your script and you'll be able to display images.

Few badges I've made in the past.

IMG_20240101_001351_946-1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages