sotokun
Joined: 26 Feb 2004 Posts: 1
|
rs232c trouble |
Posted: Fri Feb 27, 2004 3:56 am |
|
|
I use rs232c@4.19MHzPIC16F877 with CCSC Ver3.185 now.
But It can't work well my code follows;
#use delay(CLOCK = 4190000)
#USE RS232(BAUD=38400 ,XMIT=SioXmit ,RCV=SioRcv , INVERT)
I checked a timing of one pulse. It was short.
So I chenged my code like this;
#use delay(CLOCK = 4350000)
#USE RS232(BAUD=38400 ,XMIT=SioXmit ,RCV=SioRcv , INVERT)
Then,it work well.
Anyone tell me why? |
|