|
Re: Use/Conversion of Cypress Output Values
The config VI you mentioned has help that explains its purpose ...
"This VI returns sets the mode of each digital channel. All 16 channels can be inputs with configurable pull up/down resistors and can be driven as outputs. Some channels have additional capabilities as listed in the mode ring. Additionally, this VI configures the PWM and encoders for the I/O device connected to the driver station."
You have the choice of doing the configuration using the dialog on the DS, or on the robot's code, whichever you think will be more predictable. You can also reconfigure during the match, via the robot code, but that would be unexpected.
The other VIs in the palette allow you to configure the other types of I/O and set/get the various values.
It is a dense little thingy, so feel free to ask questions if you have them.
Greg McKaskle
|