Author |
Message |
Topic: Please help me get serial working |
silentwol
Replies: 5
Views: 5731
|
Forum: 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 |
Topic: Please help me get serial working |
silentwol
Replies: 5
Views: 5731
|
Forum: 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
|
Forum: 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
|
Forum: 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 ... |
|