CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Making a menu with 3 buttons and a LCD

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ezequiel
Guest







Making a menu with 3 buttons and a LCD
PostPosted: Sun Feb 02, 2003 5:40 am     Reply with quote

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

View user's profile Send private message

Re: Making a manu with 3 buttons and a LCD
PostPosted: Mon Feb 03, 2003 12:42 pm     Reply with quote

:=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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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