View Single Post
  #3   Spotlight this post!  
Unread 29-01-2014, 20:47
sthreet's Avatar
sthreet sthreet is offline
Registered User
AKA: scott threet
FRC #4692
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Toutle Lake
Posts: 84
sthreet is an unknown quantity at this point
Re: Ultrasonic analog input?

Thanks, tried that. It didn't work. I tried distance.getAverageVoltage()<=1 and distance.getAverageVoltage()*9.8<=6 but neither of those worked.

Am I doing something wrong? Using the slot 1 because it won't let me use slot 8. AnalogChannel distance=new AnalogChannel(1);
__________________
Spoiler for gif:
Reply With Quote