View previous topic :: View next topic |
Author |
Message |
newgrl Guest
|
makin LCD user interactive |
Posted: Mon Feb 19, 2007 10:47 pm |
|
|
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... SOS!!!
can someone suggest me or write a model program plss... |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
newgal Guest
|
thank you |
Posted: Tue Feb 20, 2007 3:05 am |
|
|
Thanks a million PCM programmer.... Thanks a lot for the timely help... one last doubt.. i do i go to sleep mode after 3 minutes... |
|
|
newgyl Guest
|
Re. |
Posted: Tue Feb 20, 2007 4:40 am |
|
|
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 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Feb 20, 2007 12:09 pm |
|
|
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 |
Posted: Wed Feb 21, 2007 3:43 am |
|
|
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........ |
|
|
|