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: 5 months ago
JSON representation
MicroPython Display Driver for [WaveShare 2.9inch e-Paper Display (B)
- Host: GitHub
- URL: https://github.com/rdagger/MicroPython-2.9-inch-ePaper-Library
- Owner: rdagger
- License: mit
- Created: 2020-09-01T00:30:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-24T21:28:38.000Z (over 2 years ago)
- Last Synced: 2024-08-04T00:06:55.680Z (9 months ago)
- Language: Python
- Size: 82 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-micropython - MicroPython-2.9-inch-ePaper-Library - MicroPython Display Driver for WaveShare 2.9inch e-Paper Display (B). (Libraries / Display)
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:
demo_fonts.py example:
demo_shapes.py example:
demo_qr.py example draws a QR code which is readable by phones, tablets and webcams:
