Based on the value read from a thermister I wish to activate a relay to continue a heater or turn it off until it drops below a set value. Here is the code that I thought would work based on the manual but it fails to compile.
BEGIN"config"
'Generated by new dEX-2
password=""
RA"Schedule_B"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)2S
LOGONA 5R(II,2W,"Resistance~Ohms",=1001CV,LM,NA)
RB2S IF1(1001CV > 30)1RELAY=0 IF2(1001CV < 29) 1RELAY=1
END
Unable to puzzle my way to a version via the dEX interface. Any suggestions welcome.
Based on the value read from a thermister I wish to activate a relay to continue a heater or turn it off until it drops below a set value. Here is the code that I thought would work based on the manual but it fails to compile.
BEGIN"config"
'Generated by new dEX-2
password=""
RA"Schedule_B"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)2S
LOGONA 5R(II,2W,"Resistance~Ohms",=1001CV,LM,NA)
RB2S IF1(1001CV > 30)1RELAY=0 IF2(1001CV < 29) 1RELAY=1
END
Unable to puzzle my way to a version via the dEX interface. Any suggestions welcome.
edited Jul 19 at 6:53 am