View Single Post
  #3   Spotlight this post!  
Unread 19-01-2009, 23:22
comwiz7's Avatar
comwiz7 comwiz7 is offline
Registered User
AKA: Joey
FRC #1323 (Madtown Robotics 1323)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Madera
Posts: 66
comwiz7 will become famous soon enoughcomwiz7 will become famous soon enough
Send a message via MSN to comwiz7
Re: Digital I/O Dilemma

Quote:
Well, I wouldn't be all that surprised by that flickering.
It would make sense for the inputs of the encoders to flicker, but every single input flickers, even if nothing is plugged into it. It is seemingly random. I couldn't even get a limit switch to work properly.

I added this line of code to the teleoperated loop:
Code:
dashboard.Printf("Distance: %f\n", encoder1.GetDistance());
On the dashboard it always says "Distance: 0.0000000" no matter what I do with the encoder.