![]() |
Matrix Bot LV-MaxSonar-EZ1 Code?
what class do we use for the LV-MaxSonar-EZ1 ?
do we use the ultrasonic class, if so, what are the ping and echo slots? it seems like the ultrasonic class is for older sonar sensors so what do we use? |
Re: Matrix Bot LV-MaxSonar-EZ1 Code?
I don't think the ultrasonic class works with this sonar sensor. You should just instantiate an analog channel for this sensor (if you are connecting it via analog input).
|
Re: Matrix Bot LV-MaxSonar-EZ1 Code?
Use an Analog channel. Each inch = 0.01 volt, so you'll see 0.73 volts for 73 inches, for example.
|
| All times are GMT -5. The time now is 22:20. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi