sorry about the confusion.......
ok, here's my idea. I want to design a microprocessor that analyse an 8-bit serial signal coming out from a PDA (via an RS232 port). This microprocessor (PIC16F877), according to that input signal, will then drive an external circuit by its output port.
I am an undergrad. student and this is my first time programming a PIC. I assume that the signal coming out from the PDA should be somewhat standard digital signal. This signal will be passed to the PIC through an RS232. In the output side I also attached my hardware to Port D of that PIC. So for example, if the input serial signal (from the PDA) is 10010000, bit0 & bit3 of Port D will be set 'high'....etc
let me restate my question in this way, what registers or ports should i set in my PIC program? what kind of spec that I should look for? And thank you so much for your help.
^o^