|
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.
|