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 4 matches
CCS Forum Index
Author Message
  Topic: Please help me get serial working
silentwol

Replies: 5
Views: 5731

PostForum: General CCS C Discussion   Posted: Mon Jul 14, 2008 2:40 pm   Subject: Please help me get serial working
Thanks very much, that's working now Smile
  Topic: Please help me get serial working
silentwol

Replies: 5
Views: 5731

PostForum: General CCS C Discussion   Posted: Sun Jul 13, 2008 11:09 am   Subject: Please help me get serial working
Ah ok, fixed and changed to:
putc( getc() );

Still no joy though. Have I set up the UART properly? I've tried with the following line instead, but that also isn't working:
#use rs232(baud=9600,pa ...
  Topic: Please help me get serial working
silentwol

Replies: 5
Views: 5731

PostForum: General CCS C Discussion   Posted: Sun Jul 13, 2008 10:41 am   Subject: Please help me get serial working
Oh, one more thing. When I run this, it always outputs "getting next char:" twice and the LED flashes twice. I.e. it is doing two iterations of the loop. Could this be related at all?
  Topic: Please help me get serial working
silentwol

Replies: 5
Views: 5731

PostForum: General CCS C Discussion   Posted: Sun Jul 13, 2008 10:30 am   Subject: Please help me get serial working
I'm using a 16F88 (int osc) with the hardware UART (9600 buad) and a MAX232. Using v4.074 of the compiler. I can send data using printf.

The problem is that I can't seem to receive data. When I con ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group