|
Re: VEX Ultrasonic Sensor delay
Quote:
|
Originally Posted by P1h3r1e3d13
Yup - current version of EasyC.
I know it shouldn't hang the code. I'm assuming you mean you have experienced it working properly, and I'll take that as a good sign.
I just realized it doesn't seem like I'm even getting data - I have it outputting to the OI display and all it shows is u000 or an occasional u012. It has worked before, though (in a completely different program), so the sensor itself is not broken.
|
Is it possible to try a short test program to make sure that the sensor is working the way it is installed in your robot. If you are seeing the delay in the short program, please post it and I'll try to reproduce and fix the problem.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
|