|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
||||
|
||||
|
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).
|
|
#3
|
|||||
|
|||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|