Sep 12, 2021
11:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 12, 2021
11:40 PM
I am working on 2x3 Cap Sense matrix keypad interfacing using PSOC4 ,
but i am facing difficulty in software section. Can anyone give suggestion on it.
Solved! Go to Solution.
Labels
- Labels:
-
PSoC 4 MCU
1 Solution
Oct 05, 2021
05:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 05, 2021
05:00 AM
Hi @shilpasonone04,
After scanning the sensors in the for loop, processing needs to be done. Can you include the CapSense_ProcessAllWidgets() function in the for loop and check for the functionality?
Also, when CapSense scan is initiated, the program must wait until the scan is complete. Use the below template, and test your application:
int main(void)
{
CyGlobalIntEnable;
CapSense_Start();
//<other code>
for(;;)
{
/* Place your application code here. */
if( !CapSense_IsBusy())
{
CapSense_ProcessAllWidgets();
//other implementations
CapSense_ScanAllWidgets();
}
}
}
Regards,
Nikhil
7 Replies