View Single Post
  #5   Spotlight this post!  
Unread 31-01-2011, 17:24
calica calica is offline
Registered User
FRC #2471
 
Join Date: Jan 2011
Location: Camas, WA
Posts: 9
calica is an unknown quantity at this point
Re: MaxSonar Ultrasonic Pole/Tower Sensing & Detection Application Note!

Quote:
Originally Posted by Alan Anderson View Post
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.
Reply With Quote