Added 38 waveshare displays or so

Layouts may not be correct, but I have no way of testing that.
This commit is contained in:
Jeroen Oudshoorn
2024-01-15 22:46:18 +01:00
parent c9bdce0ea3
commit c27cc0ac24
70 changed files with 1582 additions and 4079 deletions

View File

@ -32,15 +32,15 @@ class Waveshare27inch(DisplayImpl):
return self._layout
def initialize(self):
logging.info("initializing waveshare V1 2.7 inch display")
logging.info("initializing waveshare 2.7 V1 inch display")
from pwnagotchi.ui.hw.libs.waveshare.v2in7.epd2in7 import EPD
self._display = EPD()
self._display.init()
self._display.Clear(0xFF)
self._display.Clear()
def render(self, canvas):
buf = self._display.getbuffer(canvas)
self._display.display(buf)
def clear(self):
self._display.Clear(0xff)
self._display.Clear()