programe for changing the basic temperature (by Peter Novak)
Hi
I would ask if anybody could help me in this task. In this task I have two buttons. With these buttons I have to choose any temperature, for example 20degrees. Then if the temperature moves 1 degree up(I change this with trimmer potentiometer)the programme turns on the fan. If the temperature drops for 1 degree (this is change with potentiometer) then the programme turns on the heater. If, in spite of a turned on ventilator temperature is stil rising and when the temperature gets above 25 degrees (before we set the base temperature to 20) the programe turns up a flashing LED(this is an alarm). If the temperature in spite of a turned on heater drops five degrees from the base temperature the programme turns up flash diode (it's like an alarm)
I want to know how to that in ldmicro, Especially how you can with two keys change the basic temperature (for example, you can put the base temperature on 22 degrees and then in that basic temperature ventilaor starts at 23 degrees and LED flash starts to blink at 27 degrees and so on )