font8x14: Store font as strings instead of as bytearray

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-02-27 13:24:50 -05:00
parent af882ee0fe
commit e504147285
3 changed files with 259 additions and 258 deletions

View File

@@ -13,7 +13,7 @@ ST7920_CMD_DELAY = .000020
ST7920_SYNC_DELAY = .000045
TextGlyphs = { 'right_arrow': '\x1a' }
CharGlyphs = { 'degrees': font8x14.VGA_FONT[0xf8] }
CharGlyphs = { 'degrees': bytearray(font8x14.VGA_FONT[0xf8]) }
class ST7920:
def __init__(self, config):