LCD / string question


hello,
i'm trying display tweet on 16x2 lcd display.  on top line have tweeter's name , time. on second line want tweet scrolling along.  a tweet can 140 characters - if send lcd overflows on top line.

how stop this?

for bit more detail, i'm grabbing data on ethernet, using pstring library collect tweet details strings outputting lcd.

thanks,
cowjam

you need write code "scroll" text. if want "scroll" "hello world!", send lcd:

hello world!
ello world! h
lo world! hel
o world! hell
world! hello
orld! hello w
rld! hello wo
ld! hello wor

each line needs preceded set cursor command position cursor @ beginning on 2nd line. each string sent lcd contain no more 16 characters, prevent wrapping line 1.


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > LCD / string question


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums