Go to Post I was cheering like mad during the last match on Einstein - I think the rest of my team thought I was crazy...or crazier than they thought I was before! - Sean Schuff [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 14-01-2014, 19:57
m1tche11d m1tche11d is offline
m1tche11d
FRC #1997
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2010
Location: Kansas
Posts: 21
m1tche11d is an unknown quantity at this point
Programming MaxSonar EZ1 Ultrasonic Rangefinder in Simple Robot Template

Our team is using the simple robot example as a template for our code for this year. We were wondering what the easiest way to wire and program the MaxSonar EZ1 rangefinder would be.

We looked at some other posts and it seems that we can wire it as either a digital or an analog input. Is there a "better" way to wire it, or are both equally good?

Finally, once we wire it, how would we declare it in our code, and how would we pull in a distance from the sensor?

Thanks,
Team 1997
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi