We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f297762 + a23e5ff commit 8369185Copy full SHA for 8369185
README.rst
@@ -36,11 +36,14 @@ For a board with a built-in display.
36
import terminalio
37
from adafruit_display_text import label
38
39
+
40
text = "Hello world"
41
text_area = label.Label(terminalio.FONT, text=text)
42
text_area.x = 10
43
text_area.y = 10
44
board.DISPLAY.show(text_area)
45
+ while True:
46
+ pass
47
48
49
Contributing
examples/display_text_simpletest.py
@@ -0,0 +1,12 @@
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
0 commit comments