|
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.
|