Thread: Printf
View Single Post
  #8   Spotlight this post!  
Unread 20-01-2006, 21:10
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Printf

Quote:
Originally Posted by eugenebrooks
We are getting spurious newlines in code used last year to print the new values of digital and analog inputs when values change. Is anyone seeing spurious linebreaks from printf?
If you are using "\n" for new lines, try changing them to "\r".
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute