|
Re: Vex Ultrasonic Sensor not responding
Bringing this thread back from the dead...
I am just starting to use the Vex ultrasonic module, but haven't had much luck. The inventor manual insert pages give different information than the sample code. The former implies that the "output" wires go to the output port of the Vex controller, and the "input" wires go to the interrupt port. However, the sample code says that the "input" wire goes to digital output 11, and the "output" wire goes to interrupt 1.
I've tried both ways (hopefully not a bad idea), and neither work. In the sample code "ultrasonictest.ecp", the PrintToScreen doesn't execute because my terminal window doesn't display anything. If I comment out all of the ultrasonic function calls, the PrintToScreen call works properly.
Can someone please shed some light on this discrepancy?
|