Pages: [1]   Go Down Author Topic: GLCD / ks0108 smooth
horizonal text scrolling?  (Read 1282 times) 0 Members and 1
Guest are viewing this topic. Offline Offline Karma: 0 Posts: 1
View Profile  Bigger Bigger  Smaller Smaller  Reset Reset   I'm
tinkering with a ks0108 and the beta GLCD libraries and would
like to be able to scroll text across the screen in a ticker-
like fashion, but at 1-pixel resolution so that the scroll
effect is very smooth.  Smooth vertical scrolling is easy: just
use a negative Y index into a text area like so:  int offset=0;
while(offset > -8) {   textBox.CursorToXY(0, offset);  
textBox.Printf("Scrolling up");  The above technique doesn't
work for the X axis; specifying a negative X index simply places
the text on the left edge of the screen.  Any idea how to do
smooth horizontal scrolling with GLCD?   Global Moderator
Offline Offline Brattain Member Karma: 452 Posts: 18694 View
Profile  Bigger Bigger  Smaller Smaller  Reset Reset  In your
favour is the fact that drawing on pixel boun