Author |
Message |
Topic: RS232 receive errors |
qmilloy
Replies: 6
Views: 8428
|
Forum: General CCS C Discussion Posted: Tue Jun 21, 2011 1:24 pm Subject: RS232 receive errors |
Yeah I can definitely see how that can cause problems. I am a little worried about total memory, but I'm not sure that a few bytes are going to make the difference either way.
Thanks for all your ... |
Topic: RS232 receive errors |
qmilloy
Replies: 6
Views: 8428
|
Forum: General CCS C Discussion Posted: Mon Jun 20, 2011 1:00 pm Subject: RS232 receive errors |
Problem solved! I removed the kbhit() and just told it to start reading right away, now it will read in the whole string! |
Topic: RS232 receive errors |
qmilloy
Replies: 6
Views: 8428
|
Forum: General CCS C Discussion Posted: Mon Jun 20, 2011 12:21 pm Subject: RS232 receive errors |
I excluded the pin declarations from my code, sorry about that.
Here are TX and RX for reference:
#define TX PIN_C6 // O
#define RX PIN_C7 // I
Also, taking use_fast_io ... |
Topic: RS232 receive errors |
qmilloy
Replies: 6
Views: 8428
|
Forum: General CCS C Discussion Posted: Mon Jun 20, 2011 10:46 am Subject: RS232 receive errors |
if input is this:
ASCII sent: work
followed by
Hex sent: 0D
Sample output looks like this:
I made it passed!
wo
|
Topic: RS232 receive errors |
qmilloy
Replies: 6
Views: 8428
|
Forum: General CCS C Discussion Posted: Mon Jun 20, 2011 10:44 am Subject: RS232 receive errors |
Hi all,
So I have what seems to be a simple problem, however is being incredibly stubborn. I am working with a PIC 16F946 trying to send and receive data via RS232 to a computer. The send part wo ... |
|