
u c, i'm doing a project about computer interfacing. i need to control a robot by using joystick and keyboard both. i will control the robot by the arrow keys from the keyboard and a camera attached to that robot using the joystick for movement up, down, left and right.
so, i decided to use the serial port. but now the problem is i want to send 2 signals from the keyboard and also the joystick at the same time and yet, i just want to use 1 serial port. i really don't know how can i send both signals with 1 serial port!!??

## at the present state, i just keep send the keyboard signal using mscomm.output and activate my joystick signal by using the timer function. then, my output signal on the TxD pin of the Commport 2 ( i using port 2 ) will be keep sending both signal at the same time, 1 after another. ( i don't know how to explain it but i tested it with the oscilloscope, and the reslt still acceptable. )

but another bigger problem is how can i receive back both signal with 1 port again?! n yet, i don't even know how to receive back my signal. my serial port will attached 1 8051 microcontroller to reprocess my signal. now i just program my microcontroller by sending back 1 signal that has been received. my problem is 1. i don't know how to receive the signal n 
2. how can i make sure that my output signals really have been sent out?! ( even i tested with oscilloscope ). can i show it on my program, something like display back the transferred signal in another textbox?!!

i know these really confiusing n my explanation isn't very good also. but i really appreciate for a kindly help. i dont mind even someone rewrite whole of my program. by the way, i will feel happier if my problem can be solved.