Merge pull request #348 from SpiderDead/master

Added support for Waveshare 2.7inch e-Paper Display
This commit is contained in:
evilsocket
2019-10-20 22:10:39 +02:00
committed by GitHub
8 changed files with 430 additions and 1 deletions

View File

@ -82,6 +82,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_27inch', 'ws27inch', 'waveshare_27inch', 'waveshare27inch'):
config['ui']['display']['type'] = 'waveshare27inch'
else:
print("unsupported display type %s" % config['ui']['display']['type'])
exit(1)