View Single Post
  #6   Spotlight this post!  
Unread 17-12-2007, 03:09
dmatsumoto dmatsumoto is offline
Registered User
no team (Robot Stew)
Team Role: Coach
 
Join Date: Aug 2007
Rookie Year: 2007
Location: CA
Posts: 2
dmatsumoto is an unknown quantity at this point
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?