the old fart
Senior Member
Hi Guys,
This has bugged me for some time.
What have I missed?
TOF
This has bugged me for some time.
Code:
symbol pb4=c.5
symbol pb3=c.6
symbol pb2=c.7
symbol relay3=c.0
symbol relay2=c.1
symbol relay1=c.2
main:
;-------------------------------------------
if pinc.5=1 then ; this works
high relay1
high relay2
high relay3
endif
;-----------------------------------------------
if pb4=1 then ; this does not work
high relay1
high relay2
high relay3
endif
etc.
What have I missed?
TOF