View Single Post
  #3   Spotlight this post!  
Unread 16-02-2011, 17:08
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
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.
Reply With Quote