Author |
Message |
Topic: Serial communication with 18F4550 |
Antoine1973
Replies: 5
Views: 15726
|
Forum: General CCS C Discussion Posted: Sun Apr 15, 2012 3:42 am Subject: Serial communication with 18F4550 |
Hello all,
It works ! FYI code below.
For Lextronic GPS users: I had to insert a buffer between the GPS output and the RX pin of the pic. The 3V output is too weak to trigger the input pin.
... |
Topic: Serial communication with 18F4550 |
Antoine1973
Replies: 5
Views: 15726
|
Forum: General CCS C Discussion Posted: Sat Apr 14, 2012 3:51 pm Subject: Serial communication with 18F4550 |
Ttelmah: thx a lot for your advices:
// Clear the USART receive register
while (kbhit()) c = getc();
Helped a lot.
BTW: #use rs232(baud=4800,STOP=1, BITS=8, PARITY=N, ERRORS, UART ... |
Topic: Serial communication with 18F4550 |
Antoine1973
Replies: 5
Views: 15726
|
Forum: General CCS C Discussion Posted: Sat Apr 14, 2012 2:54 pm Subject: Serial communication with 18F4550 |
Hi all,
To make a long story short, I try to read data from a EM406 GPS module.
This guy continuously sends ascii frames to the serial port.
When you connect the GPS to Hyperterminal (4800-N- ... |
|