Author |
Message |
Topic: bkbhit is true but nothing connected to the serial port!?!?! |
LordFrith
Replies: 4
Views: 10659
|
Forum: 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
|
Forum: 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
|
Forum: 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 ... |
|