|
Re: ultrasonic sensor problems...
A much better start....
From your note I get that you use EasyC with the Vex controller. You did the sample program and the Ultrasonic part works. You are now trying to write your own robot code to avoid things.
1)Is the Ultrasonic plugged in the same way as it was for the test program?
2)Do you have the same set of ultrasonic calls in your program, in the same order?
3)Did you try putting a PrintToScreen after the GetUltrasonic call to see if you are getting a value back?
|