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 CCS Technical Support

makin LCD user interactive

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







makin LCD user interactive
PostPosted: Mon Feb 19, 2007 10:47 pm     Reply with quote

people,,, pls contribute ur ideas... i a workin with pic ccs compiler. i've got to do 2 things... first get an analog value and display it.. second... set an alarm.. if analog value exeeds a limit i should activate the buzzer. i have to make the user enter the alarm set point using 4 switches...
first switch is increment... it writes value from 0 to 9 at the cursor position.. 2nd switch does the decrementing.. third is the enter key.. fourth is the decimal point ....
i dunno how to implent it... Crying or Very sad SOS!!!
can someone suggest me or write a model program plss...
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Feb 19, 2007 11:25 pm     Reply with quote

See my post towards the end of this thread, which reads a value from
the A/D, converts it to volts, and displays it on the LCD.
http://www.ccsinfo.com/forum/viewtopic.php?t=28842
newgal
Guest







thank you
PostPosted: Tue Feb 20, 2007 3:05 am     Reply with quote

Thanks a million PCM programmer.... Laughing Thanks a lot for the timely help... one last doubt.. i do i go to sleep mode after 3 minutes...
newgyl
Guest







Re.
PostPosted: Tue Feb 20, 2007 4:40 am     Reply with quote

dear PCM programmer, i got the LCD interface and analog display rite... wat bout the user interface? sorry to admit my ignorance... are their model samples available.. four push buttons is all i have to use... and the LCD keeps blinking Rolling Eyes
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Feb 20, 2007 12:09 pm     Reply with quote

To do your project, I think it would have to be written as a multi-tasking
program. You want to poll the switches and then update the display.
Basically, to answer your questions, I would have to do your whole
project for you. I don't want to do that. I don't want to get swept up
into doing projects for people.

Here is a thread on multi-tasking.
http://www.ccsinfo.com/forum/viewtopic.php?t=17189
newgyl
Guest







Re
PostPosted: Wed Feb 21, 2007 3:43 am     Reply with quote

sorry if i've taken advantage of u.. well i knew the initial part.. i just wanted tat input to truncate the float value.. well,,, deadlines are stringent n i wanted help.. tat is why i was candid in voicin out for help.. i wanted model codes for assistance..will do the needful right away... thank u for passin the link........
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