display_text_bitmap_label_simpletest.py
1 import board 2 import terminalio 3 from adafruit_display_text import bitmap_label 4 5 6 text = "Hello world" 7 text_area = bitmap_label.Label(terminalio.FONT, text=text) 8 text_area.x = 10 9 text_area.y = 10 10 board.DISPLAY.show(text_area) 11 while True: 12 pass