View Single Post
  #1   Spotlight this post!  
Unread 15-01-2015, 21:16
N00bfirst N00bfirst is offline
Registered User
FRC #4992
 
Join Date: Dec 2013
Location: Milton
Posts: 8
N00bfirst is an unknown quantity at this point
A relatively dumb question...

How do I program an ultrasonic sensor with an analog input and convert it into digital so I can use it for programming?

Let's say that the ultrasonic sensor is in port # 0 in the analog input part of the controller.

How would I set up the Ultrasonic class in a way that takes the analog port as the input.

Right now, it's only giving me an error.
Reply With Quote