Fix waveshare2in7_V2.py

Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
jayofelony
2024-03-05 21:48:16 +01:00
parent ebb8fef3fc
commit aeada2ee6e
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class Waveshare27inchV2(DisplayImpl):
def render(self, canvas):
buf = self._display.getbuffer(canvas)
self._display.display_Fast(buf)
self._display.display_Partial(buf, 0, 0, 176, 264)
def clear(self):
# This line also removes the 0xFF