View previous topic :: View next topic |
Author |
Message |
jruibarroso
Joined: 07 Jan 2006 Posts: 64 Location: Braga
|
What comands may we use with printf on RS232 ? |
Posted: Mon Oct 16, 2006 1:20 pm |
|
|
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
|
|
Posted: Mon Oct 16, 2006 2:22 pm |
|
|
\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 |
|
|
|
|
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
|