Hello,
can the display.scroll () function be slowed down?
In some cases it is very fast so one can't read say a decimal number scrolled on the 5x5 LED display on a micro:bit out there.
Can the display.scroll () function be slowed down? [SOLVED]
Can the display.scroll () function be slowed down? [SOLVED]
Last edited by csanyipal on Sun May 12, 2019 8:19 am, edited 1 time in total.
Best, Pal
Re: Can the display.scroll () function be slowed down?
Check out the delay parameter for the scroll function. Higher is slower.
from microbit import *
display.scroll("Long string", delay=500, wait=True, loop=False, monospace=False)
from microbit import *
display.scroll("Long string", delay=500, wait=True, loop=False, monospace=False)
Re: Can the display.scroll () function be slowed down?
Thank you very much for pointing me into the right direction.
I learn now how the microbit.display.scroll(string, delay=150, *, wait=True, loop=False, monospace=False) module works.
I am using this code now:
I learn now how the microbit.display.scroll(string, delay=150, *, wait=True, loop=False, monospace=False) module works.
I am using this code now:
Code: Select all
display.scroll(str(speed), delay=500, wait=True, monospace=True)
Best, Pal