Quote Originally Posted by f_lez
I mistyped this in a program ( I quickly wanted to blink an LED on portA)

high porta.1
pause 500
high porta.0
pause 500
high porta.1
pause 500
high porta.0
pause 500
high porta.1
pause 500
high porta.0
pause 500

See the problem, they all should be portA.0, so in theory the LED on PortA.1 should light, slight pause, then the LED on PortA.0 should light.

Ha, no it doesnt, well OK it does BUT the first led (on PortA.1) goes out, and instead of 2 leds being on, I get alternating leds ????

Ie

01
10
01
10

I expected

01
11


(edit)

'alldigital' fixed it so I must have one of those damn 'con' keywords wrong.....
You have a mistake, need to use low to turn off.