Merge remote-tracking branch 'displayHatMini/master' to add support for Pimoroni display hat mini

This commit is contained in:
Sniffleupagus
2023-07-14 14:11:36 -07:00
5 changed files with 415 additions and 1 deletions

View File

@ -16,6 +16,7 @@ from pwnagotchi.ui.hw.waveshare213d import Waveshare213d
from pwnagotchi.ui.hw.waveshare213bc import Waveshare213bc
from pwnagotchi.ui.hw.waveshare35lcd import Waveshare35lcd
from pwnagotchi.ui.hw.spotpear24inch import Spotpear24inch
from pwnagotchi.ui.hw.displayhatmini import DisplayHatMini
def display_for(config):
# config has been normalized already in utils.load_config
@ -72,3 +73,6 @@ def display_for(config):
elif config['ui']['display']['type'] == 'spotpear24inch':
return Spotpear24inch(config)
elif config['ui']['display']['type'] == 'displayhatmini':
return DisplayHatMini(config)