Jump to content

NodeMCU Projects: Difference between revisions

Line 493:
* Scroll Text:
<syntaxhighlight lang="python">
def disp(txt,n,t):
for i in range(10):
screen.textfor i in range("ABCD",i,0-n,1n):
screen.showtext(txt,-i,0,1)
time screen.sleepshow(1)
screen time.init_displaysleep(t)
screen.init_display()
</syntaxhighlight>
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.