How do you program the Photoswitch

We are using MPLAB and are wondering how to program the photoswitch, with basic understandable terminology.

Tou have to treat the reciver side of the photo switch as a normal switch, on the transmitter you plug it into a 12V. powers souce. when i gain access to my computer later today i will supply you with a sample code.

-Zak

could you PM this to me