View Single Post
  #4   Spotlight this post!  
Unread 27-03-2013, 11:56
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: HELP - Dashboard Digital Inputs to Select Autonomous Modes

Okay, you're talking about the Driver Station, not the Dashboard. They're two different programs.

If you don't have a physical Cypress I/O board connected, then the I/O tab lets you set virtual digital and analog inputs. You can read them using the Compatibility IO functions, found in the DriverStation function palette.

The digital inputs are returned as an array of 8 booleans. Use an Index Array function to pull out the ones you want, or try a Boolean Array To Number function to turn them into a value that you can use as the select input of a Case block.
Reply With Quote