|
Re: How does DriverStation.getInstance().getDigitalInput(1) work?
The getDigitalInput() method in the example code is for user input, using the actual software driver station buttons to switch between forked and straight, and to take the left or right fork. They have nothing to do with the actual photoreceptors, and won't be changed by their state.
If you go to the I/O tab on your Driver Station, you will see the buttons.
__________________
while(!going.isTough());
tough.exit();
What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
|