CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 5 matches
CCS Forum Index
Author Message
  Topic: RS232 receive errors
qmilloy

Replies: 6
Views: 8428

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group