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 3 matches
CCS Forum Index
Author Message
  Topic: bkbhit is true but nothing connected to the serial port!?!?!
LordFrith

Replies: 4
Views: 10659

PostForum: General CCS C Discussion   Posted: Mon Sep 18, 2006 8:00 am   Subject: bkbhit is true but nothing connected to the serial port!?!?!
In which case, the zero at the beginning is still normal. (this is because the charge pump in chips like the MAX232, takes a while to get working, and the chip doesn't work properly till this happens. ...
  Topic: bkbhit is true but nothing connected to the serial port!?!?!
LordFrith

Replies: 4
Views: 10659

PostForum: General CCS C Discussion   Posted: Mon Sep 18, 2006 7:37 am   Subject: bkbhit is true but nothing connected to the serial port!?!?!
'Nothing connected to the serial port', implies the line can float. The '0' at the beginning, implies the line is low here (remember that for serial, the 'idle' state is a high signal). Then the line ...
  Topic: bkbhit is true but nothing connected to the serial port!?!?!
LordFrith

Replies: 4
Views: 10659

PostForum: General CCS C Discussion   Posted: Mon Sep 18, 2006 5:57 am   Subject: bkbhit is true but nothing connected to the serial port!?!?!
Hi

Scenario:
PIC16F73
1 x HW UART
1 x SW UART

Using sample code for int_rda.

Problem:
When I run the code, bkbhit returns true but garbage in the buffer and nothing is con ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group