![]() |
How to program sonar
Our Team is using the LV-MaxSonar-EZ3
We are having a lot of trouble programing for the sonar. Can anyone post some C ++ code that uses the sonar. As far as I have seen there is no sample code for the sonar. Thanks a lot :) |
Re: How to program sonar
It depends on how you have it wired. I am guessing you are using analog?
If so use the AnalogChannel class and use the AnalogChannel::GetVoltage() to get your voltage and multiply that value accordingly (a value you can find in the EZ3 datasheet) |
| All times are GMT -5. The time now is 10:56 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi