Quote Originally Posted by MikeDD View Post
Still not sure what the toggling of GPIO.0 is about.
Well... when I was writing code for my LANC control a while back, I used some blinking LED's as very basic debugging indicators - it looks like this code does the same.
After various commands, etc, the code does some blinky LED stuff in order for the PIC to let the user know that everything is working OK. Also looks like some error status might be reported too.

Arch