Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
525 changes: 384 additions & 141 deletions display_hal/display_hal.py

Large diffs are not rendered by default.

100 changes: 100 additions & 0 deletions display_hal/font2/console7.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
import framebuf
console7 = {
0: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7fAAA\x7f'), 5, 8, framebuf.MONO_VLSB)),
32: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00\x00\x00\x00\x00'), 5, 8, framebuf.MONO_VLSB)),
33: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00\x00_\x00\x00'), 5, 8, framebuf.MONO_VLSB)),
34: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00\x07\x00\x07\x00'), 5, 8, framebuf.MONO_VLSB)),
35: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x14\x7f\x14\x7f\x14'), 5, 8, framebuf.MONO_VLSB)),
36: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'$*\x7f*\x12'), 5, 8, framebuf.MONO_VLSB)),
37: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'#\x13\x08db'), 5, 8, framebuf.MONO_VLSB)),
38: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'6IU"P'), 5, 8, framebuf.MONO_VLSB)),
39: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00\x05\x03\x00\x00'), 5, 8, framebuf.MONO_VLSB)),
40: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00\x1c"A\x00'), 5, 8, framebuf.MONO_VLSB)),
41: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00A"\x1c\x00'), 5, 8, framebuf.MONO_VLSB)),
42: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x08*\x1c*\x08'), 5, 8, framebuf.MONO_VLSB)),
43: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x08\x08>\x08\x08'), 5, 8, framebuf.MONO_VLSB)),
44: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00P0\x00\x00'), 5, 8, framebuf.MONO_VLSB)),
45: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x08\x08\x08\x08\x08'), 5, 8, framebuf.MONO_VLSB)),
46: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00``\x00\x00'), 5, 8, framebuf.MONO_VLSB)),
47: (5, 8, 1, framebuf.FrameBuffer(bytearray(b' \x10\x08\x04\x02'), 5, 8, framebuf.MONO_VLSB)),
48: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'>QIE>'), 5, 8, framebuf.MONO_VLSB)),
49: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00B\x7f@\x00'), 5, 8, framebuf.MONO_VLSB)),
50: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'BaQIF'), 5, 8, framebuf.MONO_VLSB)),
51: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'!AEK1'), 5, 8, framebuf.MONO_VLSB)),
52: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x18\x14\x12\x7f\x10'), 5, 8, framebuf.MONO_VLSB)),
53: (5, 8, 1, framebuf.FrameBuffer(bytearray(b"\'EEE9"), 5, 8, framebuf.MONO_VLSB)),
54: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'<JII0'), 5, 8, framebuf.MONO_VLSB)),
55: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x01q\t\x05\x03'), 5, 8, framebuf.MONO_VLSB)),
56: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'6III6'), 5, 8, framebuf.MONO_VLSB)),
57: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x06II)\x1e'), 5, 8, framebuf.MONO_VLSB)),
58: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x0066\x00\x00'), 5, 8, framebuf.MONO_VLSB)),
59: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00V6\x00\x00'), 5, 8, framebuf.MONO_VLSB)),
60: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00\x08\x14"A'), 5, 8, framebuf.MONO_VLSB)),
61: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x14\x14\x14\x14\x14'), 5, 8, framebuf.MONO_VLSB)),
62: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'A"\x14\x08\x00'), 5, 8, framebuf.MONO_VLSB)),
63: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x02\x01Q\t\x06'), 5, 8, framebuf.MONO_VLSB)),
64: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'2IyA>'), 5, 8, framebuf.MONO_VLSB)),
65: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'~\x11\x11\x11~'), 5, 8, framebuf.MONO_VLSB)),
66: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7fIII6'), 5, 8, framebuf.MONO_VLSB)),
67: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'>AAA"'), 5, 8, framebuf.MONO_VLSB)),
68: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7fAA"\x1c'), 5, 8, framebuf.MONO_VLSB)),
69: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7fIIIA'), 5, 8, framebuf.MONO_VLSB)),
70: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7f\t\t\x01\x01'), 5, 8, framebuf.MONO_VLSB)),
71: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'>AAQ2'), 5, 8, framebuf.MONO_VLSB)),
72: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7f\x08\x08\x08\x7f'), 5, 8, framebuf.MONO_VLSB)),
73: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00A\x7fA\x00'), 5, 8, framebuf.MONO_VLSB)),
74: (5, 8, 1, framebuf.FrameBuffer(bytearray(b' @A?\x01'), 5, 8, framebuf.MONO_VLSB)),
75: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7f\x08\x14"A'), 5, 8, framebuf.MONO_VLSB)),
76: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7f@@@@'), 5, 8, framebuf.MONO_VLSB)),
77: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7f\x02\x04\x02\x7f'), 5, 8, framebuf.MONO_VLSB)),
78: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7f\x04\x08\x10\x7f'), 5, 8, framebuf.MONO_VLSB)),
79: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'>AAA>'), 5, 8, framebuf.MONO_VLSB)),
80: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7f\t\t\t\x06'), 5, 8, framebuf.MONO_VLSB)),
81: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'>AQ!^'), 5, 8, framebuf.MONO_VLSB)),
82: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7f\t\x19)F'), 5, 8, framebuf.MONO_VLSB)),
83: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'FIII1'), 5, 8, framebuf.MONO_VLSB)),
84: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x01\x01\x7f\x01\x01'), 5, 8, framebuf.MONO_VLSB)),
85: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'?@@@?'), 5, 8, framebuf.MONO_VLSB)),
86: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x1f @ \x1f'), 5, 8, framebuf.MONO_VLSB)),
87: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7f \x18 \x7f'), 5, 8, framebuf.MONO_VLSB)),
88: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'c\x14\x08\x14c'), 5, 8, framebuf.MONO_VLSB)),
89: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x03\x04x\x04\x03'), 5, 8, framebuf.MONO_VLSB)),
90: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'aQIEC'), 5, 8, framebuf.MONO_VLSB)),
91: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00\x00\x7fAA'), 5, 8, framebuf.MONO_VLSB)),
92: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x02\x04\x08\x10 '), 5, 8, framebuf.MONO_VLSB)),
93: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'AA\x7f\x00\x00'), 5, 8, framebuf.MONO_VLSB)),
94: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x04\x02\x01\x02\x04'), 5, 8, framebuf.MONO_VLSB)),
95: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'@@@@@'), 5, 8, framebuf.MONO_VLSB)),
96: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00\x01\x02\x04\x00'), 5, 8, framebuf.MONO_VLSB)),
97: (5, 8, 1, framebuf.FrameBuffer(bytearray(b' TTTx'), 5, 8, framebuf.MONO_VLSB)),
98: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7fHDD8'), 5, 8, framebuf.MONO_VLSB)),
99: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'8DDD '), 5, 8, framebuf.MONO_VLSB)),
100: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'8DDH\x7f'), 5, 8, framebuf.MONO_VLSB)),
101: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'8TTT\x18'), 5, 8, framebuf.MONO_VLSB)),
102: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x08~\t\x01\x02'), 5, 8, framebuf.MONO_VLSB)),
103: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x08\x14TT<'), 5, 8, framebuf.MONO_VLSB)),
104: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7f\x08\x04\x04x'), 5, 8, framebuf.MONO_VLSB)),
105: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00D}@\x00'), 5, 8, framebuf.MONO_VLSB)),
106: (5, 8, 1, framebuf.FrameBuffer(bytearray(b' @D=\x00'), 5, 8, framebuf.MONO_VLSB)),
107: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00\x7f\x10(D'), 5, 8, framebuf.MONO_VLSB)),
108: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00A\x7f@\x00'), 5, 8, framebuf.MONO_VLSB)),
109: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'|\x04\x18\x04x'), 5, 8, framebuf.MONO_VLSB)),
110: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'|\x08\x04\x04x'), 5, 8, framebuf.MONO_VLSB)),
111: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'8DDD8'), 5, 8, framebuf.MONO_VLSB)),
112: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'|\x14\x14\x14\x08'), 5, 8, framebuf.MONO_VLSB)),
113: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x08\x14\x14\x18|'), 5, 8, framebuf.MONO_VLSB)),
114: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'|\x08\x04\x04\x08'), 5, 8, framebuf.MONO_VLSB)),
115: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'HTTT$'), 5, 8, framebuf.MONO_VLSB)),
116: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x04?D@ '), 5, 8, framebuf.MONO_VLSB)),
117: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'<@@ |'), 5, 8, framebuf.MONO_VLSB)),
118: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x1c @ \x1c'), 5, 8, framebuf.MONO_VLSB)),
119: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'<@0@<'), 5, 8, framebuf.MONO_VLSB)),
120: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'D(\x10(D'), 5, 8, framebuf.MONO_VLSB)),
121: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x0cPPP<'), 5, 8, framebuf.MONO_VLSB)),
122: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'DdTLD'), 5, 8, framebuf.MONO_VLSB)),
123: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00\x086A\x00'), 5, 8, framebuf.MONO_VLSB)),
124: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00\x00\x7f\x00\x00'), 5, 8, framebuf.MONO_VLSB)),
125: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x00A6\x08\x00'), 5, 8, framebuf.MONO_VLSB)),
126: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x02\x01\x02\x01\x00'), 5, 8, framebuf.MONO_VLSB)),
127: (5, 8, 1, framebuf.FrameBuffer(bytearray(b'\x7fAAA\x7f'), 5, 8, framebuf.MONO_VLSB)),
}
Loading