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
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.
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
Post a Comment