Simple library to use the Waveshare 2.7inch e-Paper HAT.
This ePaper hat is cheap compared to the PaPiRus e-Paper hat. The only problem is that this device hasn't simple library, so hello there.
Update v1.1:
- Latest Waveshare libraries (speed up of refresh time)
- update_screen not working properly
- Clear screen function
Features:
- Use screen in Landscape or Portrait
- Write simple texts
- Add ligne
- Not physical refresh if same image
ToDo:
- Show the calculated image when you don't have the Hat available Soon
- Add images
W.I.P
import epsimplelib
def hello():
esp = epsimplelib.EPScreen('landscape') # eps = e-Ink Paper Screen
esp.set_title("Sheldon Cooper")
esp.add_line((100, 100, 150, 100))
esp.update_screen()
hello()
hello() # Physical screen not refreshed
- The library uses the Original Library written by Waveshare. It can be downloaded here. Modified to run on Python3
- FreeMonoBold by GNU FreeFont
- Nicolas SAGOT - @Lyoko17220
MIT. See LICENCE.md