|
Re: Cypress Switch Problem
If youre using the Cypress module, you have to use the EnhancedDigitalIO class (or something close to that) instead.
[EDIT]
Just checked, and its DriverStationEnhancedIO is the class name.
so in initialization you would call (Assumin dio is your DriverStationEnhancedIO variable name)
dio = DriverStation.getInstance().getEnhancedIO();
then you can call getDigital on dio to read in digitalIO's
__________________
Last edited by mobilegamer999 : 04-02-2011 at 19:07.
|