Skip to content

Commit 8c1fa9b

Browse files
committed
a few comments in magtag example
1 parent c38baeb commit 8c1fa9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/bitmap_font_label_magtag.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# see guide for setting up external displays (TFT / OLED breakouts, RGB matrices, etc.)
1313
# https://learn.adafruit.com/circuitpython-display-support-using-displayio/display-and-display-bus
1414
display = board.DISPLAY
15+
# wait until we can refresh the display
1516
time.sleep(display.time_to_refresh)
1617

1718
# Set text, font, and color
@@ -36,7 +37,7 @@
3637
text_area.x = 20
3738
text_area.y = 20
3839

39-
# Show it
40+
# Show it and refresh
4041
display.show(text_area)
4142
display.refresh()
4243
while True:

0 commit comments

Comments
 (0)