|
Re: Digital Inputs Driver Station
Quote:
Originally Posted by Kristian Calhoun
You shouldn't have to declare new Digital Inputs. Use the existing methods in the Driver Station class:
DriverStation *ds;
ds = new DriverStation();
ds->GetDigitalIn(channel);
|
DriverStation *ds;
ds = DriverStation::GetInstance();
We spent about an hour one meeting figuring this out :-)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
|