The Cypress shows different LEDs depending on it's setup and whether the Driver station is running or not.
Without the Driver Station running:
- Plug in the Cypress (it can also be tested disconnected but powered by a 9-v battery instead)
- Push the single black button on the Cypress and you should see the second red LED (p2_1) light up if you have the correct firmware version loaded. If you don't see the 2nd LED light up, then you need to reload the V2 firmware onto the Cypress.
- All LEDs should be off when the button is not being pushed.
Start the Driver Station:
- The Cypress can already be plugged in or plug it in now
- If your cRIO code sets the Cypress red LEDs on then you will see them.
- Pushing the black Cypress button will light up all the red LEDs (not right away, but after a second or two).
- Kill the Driver Station and the black button will not cause any red LEDs to light up. Unplug and replug-in the Cypress and it will behave as above.
Switches just get wired between the Cypress signal pin, e.g., P4_4, and Cypress ground. With a regular switch it doesn't matter which side you connect to ground and which connects to the signal pin. When closed, the switch just lets current flow between the two pins (signal to ground) or not and the current flows the way it wants to.
The Driver Station should be on Compatible mode or the input should be pulled high.