Adafruit_CircuitPython_Disp.../examples/display_text_bitmap_label_simpletest.py
2020-08-11 18:42:34 -05:00

12 lines
245 B
Python

import board
import terminalio
from adafruit_display_text import bitmap_label
text = "Hello world"
text_area = bitmap_label.Label(terminalio.FONT, text=text)
text_area.x = 10
text_area.y = 10
board.DISPLAY.show(text_area)
while True:
pass