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

@ -248,6 +248,9 @@ def load_config(args):
elif config['ui']['display']['type'] in ('ws_2', 'ws2', 'waveshare_2', 'waveshare2'):
config['ui']['display']['type'] = 'waveshare_2'
elif config['ui']['display']['type'] in ('ws_3', 'ws3', 'waveshare_3', 'waveshare3'):
config['ui']['display']['type'] = 'waveshare_3'
elif config['ui']['display']['type'] in ('ws_27inch', 'ws27inch', 'waveshare_27inch', 'waveshare27inch'):
config['ui']['display']['type'] = 'waveshare27inch'