Hi Mastero,
Save yourself alot of work and goto www.rentron.com and look for the project titled "12pin serial I/O interface". It is a project based on the 16F84 and has all the code there that you need to send commands from a PC to the project to control 12 pins on a PIC. This should get you what you want to do.
BobK
Bookmarks