Is that your entire code. You might want to try and establish a know condition of the pins at the beggining. What osc are you using?
cmcon=7
adcon1=7
trisa = %00000000 ' makes them outputs
porta = %11111111 ' makes them high
main:
Toggle PORTA.0
Pause 300
Toggle PORTA.1
Pause 300
Toggle PORTA.2
Pause 300
Toggle PORTA.3
Pause 300
Toggle PORTA.4
Pause 300
Toggle PORTA.5
GoTo main
End
Bookmarks