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

RE: [cobalt-users] Changing the Raq 4 LCD to display something else



--
Greg

> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx 
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of 
> Richard Donahue
> Sent: Monday, November 04, 2002 7:30 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] Changing the Raq 4 LCD to display 
> something else
> 
> 
> Can the Raq 4 LCD display the CPU state: % idle or Mem: K free?
> 
> If so, how?
> 
> Thanks,
> 
> Rich
> EBS
> 

Yup. This should allow you to set the LCD display:

------------------------------------------------------------------------
#!/bin/sh
# We're going to be nasty here and remove the lock lcdsleep put in here.
[ -f /etc/locks/.lcdlock ] && rm -f /etc/locks/.lcdlock

# Show what we're doing
/sbin/lcd-write "Hello" "World"

# Put the lock back
touch /etc/locks/.lcdlock
------------------------------------------------------------------------

Remember you've only got 16 characters across to play with...

Greg



--