Skip to content

Commit 43a6046

Browse files
committed
add warning about display_text optional text support
1 parent ee236f3 commit 43a6046

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adafruit_slideshow.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,14 @@
4747
import displayio
4848

4949
try:
50+
# text slides are an optional feature and require
51+
# adafruit_display_text
5052
from adafruit_display_text import bitmap_label
5153
import terminalio
5254

5355
TEXT_SLIDES_ENABLED = True
5456
except ImportError:
57+
print("Warning: adafruit_display_text not found. No support for text slides.")
5558
TEXT_SLIDES_ENABLED = False
5659

5760
__version__ = "0.0.0-auto.0"

0 commit comments

Comments
 (0)