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: 24 days 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 (about 2 years ago)
- Last Synced: 2024-08-04T00:06:55.680Z (4 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:
![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)