First make sure your board works properly. The cy8ckit-030 come with a preprogrammed selft test firmware that allows you to find out if everything is working. It tests all buttons, LEDs and capsense buttons. if you still have the hex you can burn it and see if your board is working properly.
You cannot directly connect the CapSense inputs to your logic, You need to use the CapSense component. Unfortunately it doesn't allow to connect it directly to the logic, you need to handle it in code. There are code samples for the -030 kit (see chapter 5.4 in the user guide).
Regarding the problem with the buttons: can you post your project here? From your description I don't see any reason it shouldn't work.
Well I couldn't get it working as before, but I ended up connecting the buttons to a status register and then using some debounce code to get the change the value of some variables. I'm still not sure why I can't wire the button directly to an LED and have it work as such.
As far as the Cap Sense I did find the blocks for it a little after my first post, but my goal was not focused on those so I left them alone. I only used them because I thought the other switches might be damaged.
As far as the self test, everything checks out ok. If you would like I can still upload my poject.
OK, I did some experiments. I got it working only with the proper configuration of the input pin:
- Type: digital input
- General: resistive pullup enabled (the button inputs have no resistor)
- Input: input buffer enabled (but not synchronized)
Thanks Hli that works wonderfully