Quote:
Originally Posted by mrklempae
am I the only person who can't seem to get this to work? I'm not completely sure how to do this, but one of the other programmers (better than myself) tried to get it working to no avail...
|
The way the sensor is wired is also important, the code I provided is for operating in analog mode (not PWM mode), and the wiring must account for that.
For debugging the sensor itself you can put a multimeter probe on the analog line and see what value it is sending to the cRio (a voltage level that should change the closer the sensor is to something).
Once you see values on the multimeter that correspond to distance, then you debug code. If you need more help, please post actual details on what you've done and what you see.