Skip to content

Commit e08643c

Browse files
committed
changing example script to simpletest
1 parent 61481a7 commit e08643c

File tree

2 files changed

+12
-180
lines changed

2 files changed

+12
-180
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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

examples/display_text_label_vs_bitmap_label_simpletest.py

Lines changed: 0 additions & 180 deletions
This file was deleted.

0 commit comments

Comments
 (0)