View Single Post
  #4   Spotlight this post!  
Unread 16-06-2008, 22:42
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: WPILib and Ultrasonic sensors

Quote:
Originally Posted by DanielR. View Post
Thank you for the response. Using vex sensors. The echo is on (interrupt port 1), and the ping is on (analog/digital port 1). Also, I have tried it with echo=1 and ping = 1 -11.

The current configuration is the one that worked in RobotC. I have not changed the sensor's wiring.
I forgot the Vex has the interupts and the digital I/O pins seperated.

I don't see any obvious problems with the code. Hopefully someone who has more experiance with WPILib/RobotC can answer your question.
__________________
Eric Haskins KC9JVH