Please Help...Programming Assitance Needed with Dragon12
I am very new to programming/HC12 so please bare with me. The code i
am currently dealing with is something my professor made available so
that i can modify it. I am trying to run a heater using the Dragon 12
with a relay hooked up between the two. I already have a thermistor
set up on the board with temperature being displayed to the LCD. I am
wanting the heater to turn on when the temp is below 270 and turn off
when the temp is above 280. I currently have the relay hooked up to
PB2 and ground. This is where my programming knowledge ends. I am
assuming it is just a matter of turning the relay either high or low
according to my previously mentioned criteria. What i am wanting to
know is what i need to add to my Freescale CodeWarrior C code to cause
these things to happen. If there is any other information you need,
let me know. Thanks for your help.
-Bryan