Merge pull request #1014 from maeky1986/master

Add Display support for Waveshare 3,5" (and clones) framebuffer lcd.
This commit is contained in:
Simone Margaritelli
2022-08-02 12:50:58 +02:00
committed by GitHub
4 changed files with 62 additions and 0 deletions

View File

@ -13,6 +13,7 @@ from pwnagotchi.ui.hw.waveshare144lcd import Waveshare144lcd
from pwnagotchi.ui.hw.waveshare154inch import Waveshare154inch
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
def display_for(config):
@ -62,5 +63,8 @@ def display_for(config):
elif config['ui']['display']['type'] == 'waveshare213bc':
return Waveshare213bc(config)
elif config['ui']['display']['type'] == 'waveshare35lcd':
return Waveshare35lcd(config)
elif config['ui']['display']['type'] == 'spotpear24inch':
return Spotpear24inch(config)