I'm not at home, so I can't compile this, but I think it should work. I assumed you wanted to write back to the port again. As far as i know, you can't write an array in one go, you need to write each byte seperately.
TRISC = 0
i var byte
main:
for i = 0 to 7
PORTC.i = 1
PORTC.(i-1) = 0
pause 500
next
goto main
Bookmarks