Add support for Waveshare 1.54 inch screen

This commit is contained in:
Ronan Gaillard
2019-10-27 16:02:00 +01:00
parent f86d5afb5c
commit f4fa259781
6 changed files with 432 additions and 2 deletions

View File

@ -6,6 +6,7 @@ from pwnagotchi.ui.hw.dfrobot import DFRobot
from pwnagotchi.ui.hw.waveshare1 import WaveshareV1
from pwnagotchi.ui.hw.waveshare2 import WaveshareV2
from pwnagotchi.ui.hw.waveshare27inch import Waveshare27inch
from pwnagotchi.ui.hw.waveshare154inch import Waveshare154inch
def display_for(config):
@ -32,4 +33,7 @@ def display_for(config):
return WaveshareV2(config)
elif config['ui']['display']['type'] == 'waveshare27inch':
return Waveshare27inch(config)
return Waveshare27inch(config)
elif config['ui']['display']['type'] == 'waveshare154inch':
return Waveshare154inch(config)