rikveenboer / tm1638-library

Automatically exported from code.google.com/p/tm1638-library
0 stars 0 forks source link

SetDisplayToScroll #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

Could you insert a function to text scroll a string ?

I mean a very simple function (for us) just to display any string.

Thank's

Original issue reported on code.google.com by aclert...@gmail.com on 18 Jun 2014 at 8:13

GoogleCodeExporter commented 9 years ago
Scrolling text, like any animation, involves controlling time. It is completely 
outside the scope of the library and would restrict it's use in other cases.

For scrolling to occur, you need to "redraw" the display several times, 
depending on the speed of the scroll - for that, you would need to control the 
loop, make the scroll function blocking or make a specific method for updating 
the animation - either of these methods is (and must be) outside the scope of 
the library.

Together with the library there are several examples - one of which is a text 
scroller using the library that you can adapt to your liking and requirements.

Original comment by rjbati...@gmail.com on 20 Jun 2014 at 3:21