Quote:
Originally Posted by DanielR.
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.