View Single Post
  #4   Spotlight this post!  
Unread 05-02-2011, 09:25
1chess2u 1chess2u is offline
Registered User
FRC #2771
 
Join Date: Jan 2011
Location: Wyoming, M!
Posts: 3
1chess2u is an unknown quantity at this point
Re: On Java an Line Sensing.

Quote:
Originally Posted by Patrick Chiang View Post
If the example code they gave us is correct, they're just 3 digital inputs. You place them next to each other and determine which once have "input". If it's showing true, then it you basically assume that the line is under that particular sensor. Using this information, you can determine whether the line is on your left, your right, or if you're right on it.

However, you might want to wait for someone who's actually tried them out to give you an expert opinion. I don't even know what they look like this year because we've been busy designing all week.
Where is this code?
Reply With Quote