Dear all,
I tried some coding for transmitting and got a voltage return from my PIC, swinging between 1.25V to 1.16V and back. Do you think this is correct? my code is attached below.
i only read the voltage by a multimeter. still have to make the hardware to plug it with my pc. the actual problem is the coding that worries me cos then i need to interface with a graphic lcd.
You won't get a true reading with a multimeter.. The transmission is so fast the mulitmeter will only get a fraction of the voltage on the pin... you need to look at the signal with a scope or logic analyser..
The voltage you are seeing will be about right for the time ON / OFF .
You know that you are only sending 0's right? Also you are constantly flooding the TXREG, you need to wait until data has been shifted out before loading TXREG again.