|
Re: Using DS Virtrual switches to select autonomous modes
i would put the code either in disabledperiodic, autonomousinit, or just right where you need the value (can't say without knowing more on how your code is structured)
as for reading in the values i want to say its:
DriverStation *ds;
ds=DriverStation::GetInstance();
ds->GetDigitalIn(1);
ds->GetDigitalIn(2);
|