Add support for SpotPear 2,4inch LCD display via framebuffer

This commit is contained in:
O-Zone
2019-11-11 14:15:48 +01:00
parent c939af4248
commit 14064c3b5b
6 changed files with 207 additions and 2 deletions

View File

@ -61,6 +61,9 @@ class Display(View):
def is_waveshare213d(self):
return self._implementation.name == 'waveshare213d'
def is_spotpear24inch(self):
return self._implementation.name == 'spotpear24inch'
def is_waveshare_any(self):
return self.is_waveshare_v1() or self.is_waveshare_v2()