View Single Post
  #4   Spotlight this post!  
Unread 17-02-2014, 00:14
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: How do you turn off Analog Ultrasonic Sensors?

There are very few opportunities in FRC to use a Digital Output. This is one of them. Connect the sensor's RX input to the SIG (signal) pin of one of the DIO ports on the Digital Sidecar. Use the DigitalOutput's Set() method. If I'm reading the sensor's datasheet properly, False will turn off the ranging; True will turn it on.
Reply With Quote