View Single Post
  #1   Spotlight this post!  
Unread 28-01-2012, 13:38
SoyStuff SoyStuff is offline
Registered User
FRC #1257
 
Join Date: Jan 2012
Location: Brooklyn
Posts: 29
SoyStuff is a jewel in the roughSoyStuff is a jewel in the roughSoyStuff is a jewel in the rough
Ultrasonic Sensor

We're writing our robot's code in C++. So far, so good, but we can't seem to figure out how to work with the ultrasonic sensor that came with the kit of parts. We're using the AnalogChannel class, but that isn't working. How should we initialize it. We can't use the Ultrasonic class because that's designed for a different ultrasonic sensor. The one that we're using, which is the one from the kit of parts, can be found at this website: https://www.adafruit.com/products/172. Does anyone have any idea what we should do? What class do we use? Thanks.
Reply With Quote