|
Re: Photoswitch value?
Congratulations on your first post!
What the sensors return depends on how they are wired. Ours originally returned true when over the carpet (green) and false when over the tape (yellow), but now it's the other way around. Write your code so it's easy to change, and test at competitions.
__________________
while(!going.isTough());
tough.exit();
What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
|