Author |
Message |
Topic: Change time limit for RS232 |
Tuga
Replies: 5
Views: 5758
|
Forum: General CCS C Discussion Posted: Thu Oct 25, 2007 4:33 am Subject: Change time limit for RS232 |
Thank you all for your good advise.
I still have to make some progress in the project, when finished, I leave the solution chosen. |
Topic: Change time limit for RS232 |
Tuga
Replies: 5
Views: 5758
|
Forum: General CCS C Discussion Posted: Tue Oct 23, 2007 6:55 am Subject: Change time limit for RS232 |
The timeout is specified in the #use rs232 statement as shown below. I use this code to define the time limit to receive data in rs232 (50ms to wait):
#use rs232(baud=115200, xmit=PIN_C6, rcv ... |
Topic: Change time limit for RS232 |
Tuga
Replies: 5
Views: 5758
|
Forum: General CCS C Discussion Posted: Tue Oct 23, 2007 5:39 am Subject: Change time limit for RS232 |
Hello,
I'm using the pic18f4455 with module ethernet tibbo em202, but i need communication adapt to the current state of the network.
How i can change the timeout the RS232 when my PIC work's?
Th ... |
Topic: Time limit for rs232 |
Tuga
Replies: 5
Views: 4789
|
Forum: General CCS C Discussion Posted: Tue Sep 04, 2007 2:23 pm Subject: Time limit for rs232 |
Thanks, it's work now, but i need change the pins for time limit work's:
d1->c6 and d0->c7, |
Topic: Time limit for rs232 |
Tuga
Replies: 5
Views: 4789
|
Forum: General CCS C Discussion Posted: Tue Sep 04, 2007 12:52 pm Subject: Time limit for rs232 |
lol
i use the version 4, and my compiler show this message: Undefined identifier mygetc
#use rs232(baud=38400, xmit=pin_d1, rcv=pin_d0)
void putnet( char c )
{
putc& ... |
Topic: Time limit for rs232 |
Tuga
Replies: 5
Views: 4789
|
Forum: General CCS C Discussion Posted: Fri Aug 31, 2007 10:50 am Subject: Time limit for rs232 |
Hello,
I'm using the pic18f4455 with module ethernet tibbo em202, but i'dont know when i loose the connection ethernet.
How i can detect if the connection rs232 is failed or interrupt receiving data ... |
|