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

rs232 change baud within program.

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



Joined: 19 Feb 2004
Posts: 23

View user's profile Send private message

rs232 change baud within program.
PostPosted: Wed Jun 01, 2005 11:31 am     Reply with quote

I'm trying to build a simple RS232 comm checker to read messages sent in both directions. When i hard code one baud rate (set at compile) it work fine. next step is the change the baud rate or invert poliarity with a switch dinamically within the program once it is running. any suggestions.
valemike
Guest







PostPosted: Wed Jun 01, 2005 11:45 am     Reply with quote

You can do another #use_rs232 statement anywhere else in your program. From that point on in your program, it will use those settings.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jun 01, 2005 12:07 pm     Reply with quote

Use the board's search engine to search for set_uart_speed
and also autobaud. There are lots of threads on these topics.
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