Thread
:
Using an Analog Ultrasonic Sensor
View Single Post
#
1
09-02-2014, 13:11
sailorjoe
Mentor, RoboEagles, FWHS
AKA: Joe Hafner
FRC #4579 (RoboEagles)
Team Role: Mentor
Join Date: Jan 2014
Rookie Year: 2014
Location: Auburn, WA
Posts: 10
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!
sailorjoe
View Public Profile
Find all posts by sailorjoe
Find CD-Media Photos by sailorjoe
Find CD-Media Papers by sailorjoe