More Information:
TRISC = %10111111 ' Set TX (PortC.6) to out, rest in
TRISB = %00000000 ' Set PortB to outputs
TRISA = %01111111
SPBRG = 25 ' Set baud rate to 2400
RCSTA = %10010000 ' Enable serial port and continuous receive
TXSTA = %00100000 ' Enable transmit and asynchronous mode
INTCON2.7 = 0
Bookmarks