Add support for Waveshare 2.13inch V3 Rev2.1

Signed-off-by: Axel Örn Sigurðsson <dev@absalon.is>
This commit is contained in:
Axel Örn Sigurðsson
2022-01-11 00:18:07 +00:00
parent cd50cf7418
commit 91e95cede0
6 changed files with 609 additions and 0 deletions

View File

@ -6,6 +6,7 @@ from pwnagotchi.ui.hw.dfrobot1 import DFRobotV1
from pwnagotchi.ui.hw.dfrobot2 import DFRobotV2
from pwnagotchi.ui.hw.waveshare1 import WaveshareV1
from pwnagotchi.ui.hw.waveshare2 import WaveshareV2
from pwnagotchi.ui.hw.waveshare3 import WaveshareV3
from pwnagotchi.ui.hw.waveshare27inch import Waveshare27inch
from pwnagotchi.ui.hw.waveshare29inch import Waveshare29inch
from pwnagotchi.ui.hw.waveshare144lcd import Waveshare144lcd
@ -40,6 +41,9 @@ def display_for(config):
elif config['ui']['display']['type'] == 'waveshare_2':
return WaveshareV2(config)
elif config['ui']['display']['type'] == 'waveshare_3':
return WaveshareV3(config)
elif config['ui']['display']['type'] == 'waveshare27inch':
return Waveshare27inch(config)