[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Pimoroni Display Hat Mini #1113

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Add Pimoroni Display Hat Support
Add Pimoroni Display Hat Support
  • Loading branch information
do-ki committed Aug 11, 2022
commit 22b00311bf9c651f7e134b7bda530088505a08d4
3 changes: 3 additions & 0 deletions pwnagotchi/ui/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ def is_waveshare35lcd(self):

def is_spotpear24inch(self):
return self._implementation.name == 'spotpear24inch'

def is_displayhatmini(self):
return self._implementation.name == 'displayhatmini'

def is_waveshare_any(self):
return self.is_waveshare_v1() or self.is_waveshare_v2()
Expand Down