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

What comands may we use with printf on RS232 ?

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



Joined: 07 Jan 2006
Posts: 64
Location: Braga

View user's profile Send private message Send e-mail MSN Messenger

What comands may we use with printf on RS232 ?
PostPosted: Mon Oct 16, 2006 1:20 pm     Reply with quote

What comands may we use with printf RS232 ?

i know that \n goes to the next line, on LCDs results fine but on RS232 goes to the next collumn on the next line

waht is the meaning of \r ?

thank you
Ttelmah
Guest







PostPosted: Mon Oct 16, 2006 2:22 pm     Reply with quote

\n, is 'line feed', or 'newline'. Depending on the actual 'terminal' being used to display the character, this may perform a line feed, or a carriage return may automatically be performed as well (\r).
In Hyperterminal, this is controlled by 'file', 'properties', 'settings', 'ASCII setup', and the tickbox 'append line feeds to incoming line ends'. The LCD always does this.

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