mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Screen support
Screen support for the following displays: Adafruit pitft (2,4" and 2,8" tested) Adafruit tft bonnet Pimoroni pirate audio Waveshare OLED/LCD hat
This commit is contained in:
@ -266,6 +266,18 @@ def load_config(args):
|
||||
elif config['ui']['display']['type'] in ('displayhatmini'):
|
||||
config['ui']['display']['type'] = 'displayhatmini'
|
||||
|
||||
elif config['ui']['display']['type'] in ('pirateaudio'):
|
||||
config['ui']['display']['type'] = 'pirateaudio'
|
||||
|
||||
elif config['ui']['display']['type'] in ('pitft'):
|
||||
config['ui']['display']['type'] = 'pitft'
|
||||
|
||||
elif config['ui']['display']['type'] in ('tftbonnet'):
|
||||
config['ui']['display']['type'] = 'tftbonnet'
|
||||
|
||||
elif config['ui']['display']['type'] in ('waveshareoledlcd'):
|
||||
config['ui']['display']['type'] = 'waveshareoledlcd'
|
||||
|
||||
elif config['ui']['display']['type'] in ('waveshare35lcd'):
|
||||
config['ui']['display']['type'] = 'waveshare35lcd'
|
||||
|
||||
|
Reference in New Issue
Block a user