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

@ -2,6 +2,7 @@ from pwnagotchi.ui.hw.inky import Inky
from pwnagotchi.ui.hw.papirus import Papirus
from pwnagotchi.ui.hw.oledhat import OledHat
from pwnagotchi.ui.hw.lcdhat import LcdHat
from pwnagotchi.ui.hw.dfrobot import DFRobot
from pwnagotchi.ui.hw.waveshare1 import WaveshareV1
from pwnagotchi.ui.hw.waveshare2 import WaveshareV2
from pwnagotchi.ui.hw.waveshare27inch import Waveshare27inch
@ -21,6 +22,8 @@ def display_for(config):
if config['ui']['display']['type'] == 'lcdhat':
return LcdHat(config)
if config['ui']['display']['type'] == 'dfrobot':
return DFRobot(config)
elif config['ui']['display']['type'] == 'waveshare_1':
return WaveshareV1(config)