Skip to content

Commit 31e4a4e

Browse files
authored
file for text scrolling
1 parent a0a670d commit 31e4a4e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

text_scroller.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import displayprovider
2+
import flipdotfont
3+
import time
4+
5+
fdd = displayprovider.get_display()
6+
font = flipdotfont.small_font()
7+
txt = "39C3 Power Cycles - Das Labor - Bochum - :) "
8+
9+
txt_scrl = flipdotfont.TextScroller(fdd, txt, font)
10+
11+
while True:
12+
txt_scrl.scrolltext()
13+
time.sleep(0.01)
14+

0 commit comments

Comments
 (0)