|
|
View previous topic :: View next topic |
Author |
Message |
Ezequiel Guest
|
Making a menu with 3 buttons and a LCD |
Posted: Sun Feb 02, 2003 5:40 am |
|
|
Hello,
Sorry for the question, but I'm a newbie in PIC C (I used to program with a PBASIC Compiler, but I realized C was much better). I have to make a rutine that scan for 3 buttons, UP, DOWN and SELECT. So with UP and DOWN you choose a option from a menu (written in a LCD using LCD.C) If a have 5 options in my menu, the rutine shows the first one, with UP the rutine shows the last one, and with DOWN it shows the next one. When you press SELECT, it calls a Subrutine and BREAK the loop.
Thank you very very much
Zeke
___________________________
This message was ported from CCS's old forum
Original Post ID: 11196 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
Re: Making a manu with 3 buttons and a LCD |
Posted: Mon Feb 03, 2003 12:42 pm |
|
|
:=Hello,
:= Sorry for the question, but I'm a newbie in PIC C (I used to program with a PBASIC Compiler, but I realized C was much better). I have to make a rutine that scan for 3 buttons, UP, DOWN and SELECT. So with UP and DOWN you choose a option from a menu (written in a LCD using LCD.C) If a have 5 options in my menu, the rutine shows the first one, with UP the rutine shows the last one, and with DOWN it shows the next one. When you press SELECT, it calls a Subrutine and BREAK the loop.
:=Thank you very very much
:=Zeke
-----------------------------------------------------
<a href="http://www.pic-c.com/forum/general/posts/6702.html" TARGET="_blank">http://www.pic-c.com/forum/general/posts/6702.html</a>
___________________________
This message was ported from CCS's old forum
Original Post ID: 11237 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|