Thread: KOP rangefinder
View Single Post
  #2   Spotlight this post!  
Unread 16-02-2012, 11:38
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: KOP rangefinder

You did plug the sensor into Analog Input 1 on the breakout, right? If it's getting power and outputting a voltage, you have the connector in the right orientation, but it might be on the wrong pins. Do you have code sending raw sensor input to the Dashboard?

Nothing else is configured for AnalogChannel(1), right? If you defined e.g. a gyro on that input earlier, trying to define the sonar sensor on the same input will fail. If that's the problem, I'd expect to see a message to that effect on the Driver Station diagnostic log.
Reply With Quote