We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb0c29 commit bc3b3b1Copy full SHA for bc3b3b1
README.rst
@@ -34,10 +34,12 @@ For a board with a built-in display.
34
35
import board
36
import terminalio
37
- from adafruit_display_text import text_area
+ from adafruit_display_text import label
38
39
text = "Hello world"
40
- text_area = text_area.TextArea(terminalio.FONT, text=text, width=len(text))
+ text_area = label.Label(terminalio.FONT, text=text)
41
+ text_area.x = 10
42
+ text_area.y = 10
43
board.DISPLAY.show(text_area)
44
45
0 commit comments