hi,Hi......
So do think what should i change now??Do you know where I make wrong or miss anything??
Really thanks for your help......
I would like to help you, but can you explain your project in more detail.
You first asked for UART/VB RS232 Comms, then you said you wanted to send data from a PC to a PIC via a RN41.
I explained that you would need a RN41 at the PC end and at the PIC end in order to communicate.
The simple VB program I posted did enable you to get the 'CMD' response when the PC sent the "$$$" command, this means the PC and RN41 are linked OK.
You then said you wanted to wire the PIC TX and RX directly to the PC as well as an RN41, you cannot do that.
You now say you have a laptop with Bluetooth and that you want to communicate with a RN41 and PIC.
You can see my problem I am not clear at all what you are trying to do, so please tell me and post a clear diagram.