|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
i can't figure out how to work the ultrasonic sensor. it works just fine when i use the test program on easyC but i cant get it to work on any of the others. i did everything that the manual said and googled it but it still wont work. can anyone help me?
Can you be a little more specific in your description? it says what it is supposed to and shows the sensor is working when i download the test code(it shows on the terminal window) Does the sensor work with the test program? yes What are you trying to do with your program? avoid obstacles Can you post your program? if i could i wouldn't know how, just joined Are you using EasyC or another compliler? im using EasyC Are you using the IFI or Vex controller?what is IFI? Last edited by couldntthinkofa : 05-01-2008 at 11:17. |
|
#2
|
|||
|
|||
|
Re: ultrasonic sensor problems...
Can you be a little more specific in your description?
Does the sensor work with the test program? What are you trying to do with your program? Can you post your program? Are you using EasyC or another compliler? Are you using the IFI or Vex controller? You need to give as much information as possible when asking a question. Saying its broken and you googled does not help much. A good guide to asking questions is here: How To Ask Questions The Smart Way |
|
#3
|
|||
|
|||
|
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? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming ultrasonic sensor in MPlab | AdamHeard | FIRST Tech Challenge | 1 | 09-05-2006 00:40 |
| VEX Ultrasonic Sensor delay | P1h3r1e3d13 | Programming | 4 | 28-03-2006 13:45 |
| Ultrasonic Sensor output | Dillon Compton | Programming | 5 | 03-02-2006 10:20 |
| Ultrasonic Sensor | winners | Programming | 3 | 02-01-2006 20:55 |
| Using and Coding an ultrasonic sensor | Jaine Perotti | General Forum | 14 | 06-08-2004 14:13 |