[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] lcd panel



Hello all,

This may seem a touch frivolous to some of you, so if you hate joy and
happiness, stop reading now.

I'm trying to get scrolling text on the raq's lcd panel working. 
For those that didn't know, you can write to lcd panel via several
functions in /sbin:
lcd-flash
lcd-getip
lcd-menu
lcd-swrite
lcd-write
lcd-yesno
lcdsleep
lcdstart
lcdstop

killing lcdsleep (runs by default) prevents the raq from overwriting your
text every few minutes with machines hostname/ip. 

I have xmms talking via cgi-scripts to the lcd panel, outputting the
current song that's playing. However, some groupnames/titles are too long
for the 16x2 display... hence the need for scrolling.

Anyone have any ideas? A hackish way might be to simply "fake" scrolloing
by repeatedly writing a string with a different offset, then sleeping so
it doesn't oscillate too quickly, but i'd rather do it cleanly.

Thanks,
-Michal Urbanski
michalp@xxxxxxxxxxxxxxxxxx