CapSense button code gets stuck on external C file | Cypress Semiconductor
CapSense button code gets stuck on external C file
I am trying to make the buttons work using CapSense on the PSoC 4 Pioneer kit. I am puzzled because my program gets stuck on CapSense_CSD usually inside the CapSense_CSD_IsBusy function, but sometimes in the CapSense_CSD_InitializeSensorBaseline function.. Given that I should not have to worry about the Cypress-supplied external files, the fault is obviously with my code in main.c. I put a breakpoint in the middle of main.c, but execution never gets there.
I am not sure that the CapSense_CSD_EnableWidget statments at lines 14 and 15 are necessary, but the code get stuck the same when they are removed.
I attached the archived project.