S
sandeepa
Guest
I am trying to send characters to the PC using the hardware UART in
16f877a.
The problem is that the characters are displayed only after I switch
off the power to the PIC.I have tried various snippets of codes used
successfully by others,however the result is always the same.
I am using MAX232 between the PC and the PIC.
Also when I tried receiving a character and transmitting it
again,nothing happened.i.e. even after powering down the PIC,nothing
was displayed as was the case previously.
Shorting the Tx and Rx pins however displays the keyed in character on
the screen.
What could be going wrong?
Thanks.
16f877a.
The problem is that the characters are displayed only after I switch
off the power to the PIC.I have tried various snippets of codes used
successfully by others,however the result is always the same.
I am using MAX232 between the PC and the PIC.
Also when I tried receiving a character and transmitting it
again,nothing happened.i.e. even after powering down the PIC,nothing
was displayed as was the case previously.
Shorting the Tx and Rx pins however displays the keyed in character on
the screen.
What could be going wrong?
Thanks.