Thanks b1arrk5
I started feeling left out and thought that maybe I asked a question with an obvious answer, I did scour the forum and found a post about a clock that used switches to set the time, I am using that code by Melanie as my basis for the input, of course I am trying to find that post now for reference and cant find it, I believe I still have an excess of eggnog floating around also.
I did find the file on my pc though it is mn1307.bas
Would I be correct to say that I could just add the SEROUT2 command everwhere it has an LCDOUT command and vice versa with the input switch use a SERIN2 command.
I pasted a section of code below to show what I mean
SetupLoop:
LCDOut $FE,1,"Set "
SEROUT2 "Set"
'
' First Display the Menu Prompts
' ------------------------------
' This is a crude way of doing the entry Menu's but it was
' pretty fast and quite mindless to program this lunch-hour
'
If CounterC=0 then
LCDOut "Mode"
SEROUT2 "Mode"
I am hoping that this method will work.....
Thanks for the suggestion for set point variable being between 55 and 95 I didnt think of that one.
And yes I will be using the LM34CAZ so the temperature will be in deg F.
Yes the LM34 outputs 10mV per deg F that is what I am pumping into the ADC with a Vref so that no conversion is necessary.
This is a starting point project for myself I have tried this a few time before with no gain. Now that I am using PicBasic it seems to make more sense and I can actually get code to compile (not like in ASM). I have no issues when it comes to hadware but the programming end of it needs alot of work for myself.
Thanks to all that contributed on this forum and I hope to hear from others soon.
Bookmarks