Tony Nixon wrote: > ; > ; ------------------------------------ > ; SET BAUD RATE TO COMMUNICATE WITH PC > ; ------------------------------------ > ; XTAL 11.0592 MHz, Baud Rate = 19200, No Parity, 1 Stop Bit > ; Oops!! bsf STATUS,RP0 ; RAM Page 1 > movlw 0x23 ; 19200 baud > movwf SPBRG > movlw b'00100100' ; brgh = high (2) > movwf TXSTA ; enable Async Transmission, set brgh > movlw b'10010000' ; enable Async Reception > clrf STATUS ; RAM Page 0 > movwf RCSTA -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads