/ examples / display_text_simpletest.py
display_text_simpletest.py
 1  import board
 2  import terminalio
 3  from adafruit_display_text import label
 4  
 5  
 6  text = "Hello world"
 7  text_area = 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