View Single Post
  #4   Spotlight this post!  
Unread 29-01-2014, 20:52
TFleig78's Avatar
TFleig78 TFleig78 is offline
Registered User
AKA: Tyler
FRC #0078 (Air Strike)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Rhode Island
Posts: 58
TFleig78 will become famous soon enoughTFleig78 will become famous soon enough
Re: Ultrasonic analog input?

Could you post the code to see what else there might be? Also, have you tried printing out the value from the distance.getAverageVoltage() method to make sure the hardware is working properly?
something like:
Code:
System.out.println(distance.getAverageVoltage());
It should print out the value in the IDE, or you could use NetConsole to read the values.
Reply With Quote