View Single Post
  #2   Spotlight this post!  
Unread 06-12-2012, 22:42
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Need help with encoders

Quote:
Originally Posted by CosmicCricket View Post
I've read up on the WPILib API and it looks as if reading from the encoders should be as simple as declaring an encoder, and then sticking encoderName.Get() in a printf statement. As is the case with many things in programming, it is not that easy.
You need to .Start() the encoder before it will return any values.
Reply With Quote