View Full Version : c++ and UltraSonic sensors
jthenderson
06-02-2016, 13:35
Hey guys! does anyone know how to get the ultrasonic sensors to work in programming? we are working with the MB1200 XL-MaxSonar-EZ0 sensor. all we want to do is see distance in inches.... but we haven't had any luck... please help!
Thanks for your time!
jthenderson
06-02-2016, 14:19
also... does anyone know how to wire it? I cant find it in any documentation...
rich2202
06-02-2016, 14:28
How do you know the programming doesn't work if you don't have a working sonar?
http://www.maxbotix.com/documents/XL-MaxSonar-EZ_Datasheet.pdf
http://first.wpi.edu/FRC/roborio/release/docs/cpp/classUltrasonic.html
jthenderson
06-02-2016, 14:41
How do you know the programming doesn't work if you don't have a working sonar?
http://www.maxbotix.com/documents/XL-MaxSonar-EZ_Datasheet.pdf
http://first.wpi.edu/FRC/roborio/release/docs/cpp/classUltrasonic.html
because when I was putting stuff in... it was coming up as an error to get the value as inches... got that to go away... thanks for the links... I'm going to look at them
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.