File tree Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Original file line number Diff line number Diff line change 1- # Sample code using the textMap library and the "textBox" wrapper class
2- # Creates four textBox instances
3- # Inserts each textBox into a tileGrid group
4- # Writes text into the box one character at a time
5- # Moves the position of the textBox around the display
6- # Clears each textBox after the full string is written (even if the text is outside of the box)
1+ # Sample for comparing label and bitmap_label positioning with Builtin or loaded BDF fonts
72
8- # import textmap
9- # from textmap import textBox
3+ # pylint: disable=no-member
104
115import gc
126import time
1711
1812from adafruit_display_text import bitmap_label
1913
20- # from adafruit_display_text import bitmap_label as Label
21-
2214from adafruit_display_text import label
2315
16+ # pylint: disable=no-member
17+
2418# Setup the SPI display
2519##########
2620# Use this Boolean variables to select which font style to use
Original file line number Diff line number Diff line change 1- # Sample code using the textMap library and the "textBox" wrapper class
2- # Creates four textBox instances
3- # Inserts each textBox into a tileGrid group
4- # Writes text into the box one character at a time
5- # Moves the position of the textBox around the display
6- # Clears each textBox after the full string is written (even if the text is outside of the box)
7-
8- # import textmap
9- # from textmap import textBox
1+ # Sample for comparing label and bitmap_label memory usage with Builtin or loaded BDF fonts
102
113import gc
124import time
157import terminalio
168
179
10+ # pylint: disable=no-member
11+
1812##########
1913# Use these Boolean variables to select the text display library and which font style to use
2014##########
You can’t perform that action at this time.
0 commit comments