Thank you Darrel, mister_e and Joe S. for so much help on this project. I have a working gate operator now as seen at http://boogerdigger.com/gate1.htm using this code (attached zip file). I hope putting up a link is not against the rules. If so, let me know and I won't do it again.
There are 2 things that I want to add to my driveway gate:
1) a way to add and delete a user code with the keypad instead of reprogramming the PIC. I have failed at this countless times now. Please give me some direction if you can.
2) add two cameras to take a picture of the view from the keypad area (to capture the face of a possible intruder) and one to capture the license plate of the vehicle (a possible help for the less-than-zealous local police department). As the front gate is a long way from my building - about 200 feet or so, I'll need to store the pictures on some form of removable media although I haven't excluded wireless.
I think I'll work on #2 now as my brain is hurting from #1.
If anyone has any suggestions on either the change code or the camera please let me know.
Bookmarks