mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Add Pimoroni Display Hat Support
Add Pimoroni Display Hat Support
This commit is contained in:
@ -75,6 +75,9 @@ class Display(View):
|
|||||||
|
|
||||||
def is_spotpear24inch(self):
|
def is_spotpear24inch(self):
|
||||||
return self._implementation.name == 'spotpear24inch'
|
return self._implementation.name == 'spotpear24inch'
|
||||||
|
|
||||||
|
def is_displayhatmini(self):
|
||||||
|
return self._implementation.name == 'displayhatmini'
|
||||||
|
|
||||||
def is_waveshare_any(self):
|
def is_waveshare_any(self):
|
||||||
return self.is_waveshare_v1() or self.is_waveshare_v2()
|
return self.is_waveshare_v1() or self.is_waveshare_v2()
|
||||||
|
Reference in New Issue
Block a user