Skip to content

Commit

Permalink
demo text scroller
Browse files Browse the repository at this point in the history
  • Loading branch information
pintman committed Dec 29, 2023
1 parent 6de17ef commit d71ac86
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions flipdotfont.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,19 @@ def test_text_scroller():
fdd.show()
time.sleep(0.5)
fdd.close()

def demo_text_lower():
print("starting text scoller")
import displayprovider
import time
fdd = displayprovider.get_display()
print("using display", fdd)
txt = TextScroller(fdd, "", small_font())
#time.sleep(1)
txt.statictext("labor", (0,8))
fdd.show()
#time.sleep(5)

if __name__ == "__main__":
#test_text_scroller()
demo_text_lower()

0 comments on commit d71ac86

Please sign in to comment.