Thread: Encoder Problem
View Single Post
  #6   Spotlight this post!  
Unread 02-01-2007, 16:49
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: Encoder Problem

Quote:
Originally Posted by Alan Anderson View Post
The "\r\n" part of your printf commands bothers me. Aren't we supposed to use just "\r" and not "\n"?
It's a carriage return and a line feed. He's constructed it like a Windows text file, which would normally use that escape sequence to mark a new line.