carterson2
Joined: 27 Aug 2006 Posts: 5 Location: Memphis
|
how to change rs232 baud_rate on the fly |
Posted: Sun Oct 15, 2006 8:50 pm |
|
|
Hi,
Can I change speeds on the fly??
Eg, I want to run at 4800bps for a while then switch to 9600bps later.
Currently on PIC16F877A, I use:
#pragma use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
Thanks for any reply.
(This PCM compiler ain't half bad!)
j. pruett
www.gpscruise.com |
|