PSoC 3 programming

Hello, we’ve recently tried to program the PSoC 3 board so we can turn on/off an LED that’s connected to the PSoC while using a microswitch which is also connected to the PSoC.
We’ve tried using the SetDigitalOutput for the LED, (using the DigitalEnhancedIO) and the GetDigitalOutput for the microswitch.

Does anyone know how to do it?
Thanks.

Hate to bump but doesn’t anyone know?

Many of us experienced folk have essentially given up on the Cypress board. It was always a little temperamental, and finding the right combination of files to use for the variety of revisions can be more of a hassle than just using a different hardware solution.

If you want something to light up under program control, consider adding an indicator to the Dashboard program.