I have two sensors to control one rele.
One for volt and one for temperature.
When the temperature (Vout) exceed the limit (P3) turn on the rele
and if the temperature is below the limit turn of the rele.
I want now , if the volt (value2) exceed the limit (P5) turn on the rele
and stay on for forever, but i don't know how
P3 and P5 is the limitCode:If Vout >= P3 then 'Temp PORTA.0=1 Pause 1000 else PORTA.0=0 endif If value2 >= P5 then PORTA.0=1 'Volt
Bookmarks