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: RCREG not empty
Shoebie

Replies: 5
Views: 8885

PostForum: General CCS C Discussion   Posted: Thu Nov 29, 2007 9:08 am   Subject: RCREG not empty
Thanks for the help. Using the RDA interrupt cured the problem. Now I fputc, then clear rcreg. The interrupt captures the characters I need.
  Topic: RCREG not empty
Shoebie

Replies: 5
Views: 8885

PostForum: General CCS C Discussion   Posted: Wed Nov 28, 2007 4:24 pm   Subject: RCREG not empty
Thank you for the very quick reply.

This is my clear function:


void Read_Rx(void)
{
char u;

u=RCREG;
u=RCREG;
u=RCREG;

}

Somehow, after a print ...
  Topic: RCREG not empty
Shoebie

Replies: 5
Views: 8885

PostForum: General CCS C Discussion   Posted: Wed Nov 28, 2007 3:38 pm   Subject: RCREG not empty
I'm using a PIC16F876 with CCS ver 4.023. I am trying to capture a string from another source. I have found that the RCREG register is not empty. I try a read and still get a "Wrong" byte. H ...
  Topic: RS232 Bitwise
Shoebie

Replies: 5
Views: 5292

PostForum: General CCS C Discussion   Posted: Thu Nov 08, 2007 8:31 am   Subject: RS232 Bitwise
I'll give that a try. I didn't realize you could set up 2 uart software modules.

Thanks!
  Topic: RS232 Bitwise
Shoebie

Replies: 5
Views: 5292

PostForum: General CCS C Discussion   Posted: Wed Nov 07, 2007 8:37 pm   Subject: RS232 Bitwise
I am using a PIC16F876, not by choice, I would have preferred the 877. However, here is my problem. I am already using the built in uart, however, I need a second RS232 output. I have done this in [spam] ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group