Merge pull request #720 from moheshmohan/master

Added support for waveshare 2.13 B display
This commit is contained in:
Simone Margaritelli
2020-01-13 11:39:13 +01:00
committed by GitHub
6 changed files with 592 additions and 3 deletions

View File

@ -117,6 +117,9 @@ def load_config(args):
elif config['ui']['display']['type'] in ('ws_213d', 'ws213d', 'waveshare_213d', 'waveshare213d'):
config['ui']['display']['type'] = 'waveshare213d'
elif config['ui']['display']['type'] in ('ws_213bc', 'ws213bc', 'waveshare_213bc', 'waveshare213bc'):
config['ui']['display']['type'] = 'waveshare213bc'
elif config['ui']['display']['type'] in ('spotpear24inch'):
config['ui']['display']['type'] = 'spotpear24inch'