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 pmPosts: 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.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum