mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
update waveshare3in7.py
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user