View Single Post
  #1   Spotlight this post!  
Unread 18-02-2013, 09:55
Norfen Norfen is offline
Registered User
FRC #0302 (The Dragons)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Michigan
Posts: 6
Norfen is an unknown quantity at this point
BoundaryException on Cypress Board

We use a cypress board for our co-driver, and it recently started throwing an exception whenever we try to access a certain switch, however it had worked before. We traced back through our changes and can't seem to find the problem.

It throws
Code:
edu.wpi.first.wpilibj.util.BoundaryException: Value must be between 1.0 and 6.0, 7.0 given
when called by
Code:
DriverStation.getInstance().getEnhancedIO().getButton(7)
and we can't figure out why. Help?
Reply With Quote