View Single Post
  #1   Spotlight this post!  
Unread 09-02-2014, 13:11
sailorjoe sailorjoe is offline
Mentor, RoboEagles, FWHS
AKA: Joe Hafner
FRC #4579 (RoboEagles)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Auburn, WA
Posts: 10
sailorjoe is an unknown quantity at this point
Re: Using an Analog Ultrasonic Sensor

I think your code needs a small adjustment. It looks to me like it gets a single range value and keeps printing it over and over in the while loop. Move the range statements inside the while loop. Good luck!
Reply With Quote