In addition to Steve's comments ...

Does your LED blink while waiting for PIR to go high? (i.e., Is your PIC alive - are you sure the PIC is working.)

What happens if you hardwire GP3 high – does your IF THEN catch it and turn on your camera?

Have you measured GP3 with a meter to make sure it really goes high when the PIR is triggered?

Is there a chance you could be missing the PIR high signal? Your loop only looks for high signal once (for a singe uS) every ½ second.

You have not initialized b1 to zero at the beginning of your code. It gets set later but you should set it early as well.

Is this the same program you used with your axe?

I just need to know how to configure the GP3 pin
you have no choice it is auto configured as an input, which is what you want.

Out of interest, what are you going to film? A guy a few weeks ago set one of these up to video hedgehogs.

Paul Borgmeier
Salt Lake City, Utah
USA