CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

changing baudrate in #use rs232

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ivanperino



Joined: 08 Jun 2006
Posts: 14

View user's profile Send private message

changing baudrate in #use rs232
PostPosted: Thu Aug 16, 2007 1:59 pm     Reply with quote

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







PostPosted: Thu Aug 16, 2007 2:12 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group