- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI ,
I use PSoC4 Capsense function for 12keys touch.
when I run
CapSense_ProcessAllWidgets();
CapSense_ScanAllWidgets();
Now, I use "CapSense_IsWidgetActive" function to check which key is pressed one by one.
Is there any other function to directly confirm which button is pressed?
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Tags:
- capsense
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the late response.
I attached a test project here. Please check if it can meet your requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may check using IsAnyWidgetActive() function but if there is you need to scan through all the buttons.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Bob,
I have used IsAnyWidgetActive() this function.
If the product has 20 buttons, I need to confirm whether they are pressed one by one use CapSense_IsWidgetActive.
Is there a faster way to confirm that those buttons are pressed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content