|
Page 1 of 1
|
[ 3 posts ] |
|
| Author |
Message |
|
robostudents
Rookie
Joined: Thu Mar 12, 2009 1:53 pm Posts: 2
|
 Sonar Code help!!!
We are using the Sonar sensor and it is getting very difficult to find anything to help us.
Can someone post up basic code for it or in a summary, tell me how to set up the code because it is not working out. I believe that I need to tell the robot how to send out the sonar signal, then take it in, but I don't know how to tell it to "send" nor do I understand how to make it receive that information. I have the output plug of the sonar sensor in the output port and I have the input plug in the interrupt port. In the code program, I have the sonar sensor down as in5 (analog/digital port) and with that it says the interrupt port can only be 1 or 2 (I have it in port 1).
Can you please just maybe guide me off in the right direction? It would be very helpful and thanks a lot!!
|
| Thu Mar 12, 2009 1:59 pm |
|
 |
|
robostudents
Rookie
Joined: Thu Mar 12, 2009 1:53 pm Posts: 2
|
 Re: Sonar Code help!!!
So throughout the school day, we managed to get out Sonar Sensor to work! It's really neat!
Thanks to anyone who tried to look up information, however, may have been unsuccessful.
|
| Fri Mar 13, 2009 1:44 pm |
|
 |
|
jbflot
Site Admin
Joined: Tue May 15, 2007 9:02 am Posts: 383
|
 Re: Sonar Code help!!!
|
| Mon Mar 16, 2009 8:51 am |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|