Alfred,

I'm not one of the experts on the forum but it looks like if PortB.0=1 then you are going to put PortA.0 high for a very small amount of micro seconds. By the way the program looks, PortA.0 will always be low no matter what PortB.0 is. If that's the case, I would adjust the program to use an If/Then/else, like this:


Start:
IF PortB.0 = 1 THEN
HIGH PortA.0
Else
LOW PortA.0
PAUSE 1
GOTO Start

Chris