Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/rdagger/MicroPython-2.9-inch-ePaper-Library

MicroPython Display Driver for [WaveShare 2.9inch e-Paper Display (B)
https://github.com/rdagger/MicroPython-2.9-inch-ePaper-Library

Last synced: 2 months ago
JSON representation

MicroPython Display Driver for [WaveShare 2.9inch e-Paper Display (B)

Lists

README

        

# MicroPython Display Driver for WaveShare 2.9inch e-Paper Display (B)
The library supports drawing lines, shapes, text and images. All code is documented and there are demo examples. Tested on [WaveShare 2.9inch e-Paper Display (B)](https://www.waveshare.com/wiki/2.9inch_e-Paper_Module_(B)) 128x296 resolution using Wemos Lolin ESP32 Wrover.

Sample XGLCD fonts are included in the fonts folder. Additional fonts can generated from TTF fonts using a free utility called MikroElektronika [GLCD Font Creator](https://www.mikroe.com/glcd-font-creator).

There are sample images in monocrhome (monoHMSB) and raw format. I’ve included a python app called img2monoHMSB.py in the utils folder to convert images in common formats such as JPEG and PNG to monoHMSB.

demo_images.py example draws monochrome images in black & white and red & white:
![Images](https://user-images.githubusercontent.com/106355/197632321-380348bf-f0b6-4b74-a63e-e70678df1b33.jpg)

demo_fonts.py example:
![Fonts](https://user-images.githubusercontent.com/106355/197632359-5195418a-7b69-442c-aa51-a71e05faeef1.jpg)

demo_shapes.py example:
![Shapes](https://user-images.githubusercontent.com/106355/197632417-01a89e57-4af3-4f43-8cd6-42e67830fc29.jpg)

demo_qr.py example draws a QR code which is readable by phones, tablets and webcams:
![QR_Code](https://user-images.githubusercontent.com/106355/197632432-4c432766-4b22-4f56-8b4e-45c83d0926aa.jpg)