View previous topic :: View next topic |
Author |
Message |
ivanperino
Joined: 08 Jun 2006 Posts: 14
|
changing baudrate in #use rs232 |
Posted: Thu Aug 16, 2007 1:59 pm |
|
|
What should I do to change the baudrate on non-UART rs232 implementation?
I need to work in different speeds, 9600 and 38400 while microprocessor is running.
I have seen you can use setup_uart() but it only works over Hardware UART implementation.
Thank You in advance |
|
|
Ttelmah Guest
|
|
Posted: Thu Aug 16, 2007 2:12 pm |
|
|
Declare multiple 'streams', with the required rates, and select the one you need.
The code is custom patched to give the required rate. Each #use RS232 statement generates the code for the specified rate (once used).
Best Wishes |
|
|
|