That lcdmesg setup is working exactly as expected. Lcdmsg writes out to the
LCD what it
is given on standard input or as a command line parameter.
The scripts in /etc/rc3.d are invoked one after the other in alphabetical order
with the
word 'start' as a parameter.
All you need to is write your program to read the keypad, do your processing
and write to
the LCD. Once you have done that, you set that program to automatically run
once the
board has booted up. You know how to do that; you have done it for the lcdmesg
program. AS pointed out, the start script should launch your program then exit.
If you want the program to run permanently, you could use /etc/inittab instead
- it's a bit
simpler.
Martin
--- In Kyaw Kyaw <> wrote:
>
> I want to use LCD display and 4x4 keypad (come with board) to make
> some functions (such as A/D conversion, Digital I/O) without using
> another computer's help. To do so, I need to make sure that the board
> login and run program automatically when I feed 5V to the board.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|