View Single Post
  #1   Spotlight this post!  
Unread 15-01-2012, 02:01
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Programming Ultrasonic Sensor

The ultrasonic sensor class is meant to be used with a different ultrasonic sensor that is not found in the Kit of Parts.

To use the analog voltage output on the sensor, just created an AnalogChannel object with the given channel, and call getVoltage(). You can then translate that voltage into distance as you want.

As for soldering... There might be one on their website. I know, it's a pain.
__________________
Attending: MN Duluth Regional
Reply With Quote