Quote:
Originally Posted by Alan Anderson
Configure it as an input. However, the DIO pins all have 10k pullup resistors on them. How high an impedance do you want?
|
You need to set it as a output to send the initial pulse. Then as an input to let the pulse "loop back around" from the last MaxSonar.
I was a little worried about Java not GC'ing the DigitalOutput object fast enough. But it looks like using DigitalModule.*DIO() should allow the control needed.