|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#7
|
|||
|
|||
|
Re: Ultrasonic analog input?
With an Ultrasonic sensor, you need to either tell it to ping, or set it to automatic ping mode. Otherwise it will read maximum distance.
Add this to your robotInit(): distance.setAutomaticMode(true); |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|