Hi,
Writing an updated LED chaser with a 28x1. The chaser is fine with output on pins B.0 to B.7 and portc 0 to portc 6 it also contains an interrupt on portc 7. All this is fine. however, I only want to start the sequence if porta pin0 is high. When I switch off a.0 I want to stop the program. However with the following IF statement the code continues to run even after a.0 is switched off:
main:
if porta pin0 = 1 then
.
.
endif
goto main
can anyone tell me why? and how to fix this? this is the last thing I need to correct before I am ready to put this into an actual system.
many thanks
Magnus