adding support for dfrobot 2.13in epaper display

Signed-off-by: Justin Richards <ratmandu@gmail.com>
This commit is contained in:
Justin Richards
2019-10-26 12:52:07 -05:00
parent 4b606d9a6b
commit d984ea8a76
10 changed files with 915 additions and 0 deletions

View File

@ -48,6 +48,9 @@ class Display(View):
def is_lcdhat(self):
return self._implementation.name == 'lcdhat'
def is_dfrobot(self):
return self._implementation.name == 'dfrobot'
def is_waveshare_any(self):
return self.is_waveshare_v1() or self.is_waveshare_v2()