View Single Post
  #2   Spotlight this post!  
Unread 04-02-2011, 18:50
mobilegamer999 mobilegamer999 is offline
Registered User
FRC #3357 (Comets)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Michigan
Posts: 124
mobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the rough
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.
Reply With Quote