update waveshare3in7.py

This commit is contained in:
Jeroen Oudshoorn
2024-02-15 09:30:03 +01:00
parent b6bb7b9080
commit 3d5185f2c1

View File

@ -38,8 +38,8 @@ class Waveshare3in7(DisplayImpl):
self._display.Clear(0) self._display.Clear(0)
def render(self, canvas): def render(self, canvas):
buf = self._display.getbuffer_4Gray(canvas) buf = self._display.getbuffer(canvas)
self._display.display_4Gray(buf) self._display.display_1Gray(buf)
def clear(self): def clear(self):
self._display.Clear(0) self._display.Clear(0)