In the following code I am sending a 'G' from RX, and I am getting G instead of ' 0 '. Then I am sending another character and I never gets the char ' 0 '. My PIC doesn't compare the value that it gets from RX. It always sends the char that it gets. again call RXget movwf temp xorlw 'G' bz send0 movf temp,W call TXsend goto again send0 movlw '0' call TXsend From PC INPUTS: GPRMC OUTPUTS OF PIC: GPRMC
- posted
17 years ago