hd44780_spi: added lcd support to the mightyboard (#4121)

Signed-off-by: Marc-André Denis <marcadenis@msn.com>
This commit is contained in:
le-Bark
2021-04-07 21:07:23 -04:00
committed by GitHub
parent 165d2fc228
commit 317402d5ba
4 changed files with 152 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
#
# This file may be distributed under the terms of the GNU GPLv3 license.
import logging, os, ast
from . import hd44780, st7920, uc1701, menu
from . import hd44780, hd44780_spi, st7920, uc1701, menu
# Normal time between each screen redraw
REDRAW_TIME = 0.500
@@ -17,6 +17,7 @@ LCD_chips = {
'st7920': st7920.ST7920, 'emulated_st7920': st7920.EmulatedST7920,
'hd44780': hd44780.HD44780, 'uc1701': uc1701.UC1701,
'ssd1306': uc1701.SSD1306, 'sh1106': uc1701.SH1106,
'hd44780_spi': hd44780_spi.hd44780_spi
}
# Storage of [display_template my_template] config sections