Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
TaMa_4718096
Level 2
Level 2
10 replies posted First like given 5 questions asked

I use Matrix buttons of CapSense in the following environment.

If Cy_CapSense_GetTouchInfo detects two touches, where are the first and second slot IDs stored?

  • Development tools : ModusToolbox 3.1
  • Device : PSoC 4100S Max
0 Likes
1 Solution
Arpit_S
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 10 likes given

Hi @TaMa_4718096 ,

 

This API call requires widgetID as one of the input arguments. A macro for the widget ID can be found in the cycfg_capsense.h file defined as CY_CAPSENSE_<WIDGET_NAME>_WDGT_ID.

Srivastav_0-1693809436429.png

For Slot IDs, you can refer to https://github.com/Infineon/cce-mtb-psoc4-msc-capsense-guard/blob/main/main.c 

Cy_CapSense_ScanSlots(CY_CAPSENSE_GUARDSENSOR_FIRST_SLOT_ID, 1, &cy_capsense_context); 

Here I have used Slot IDs

 

Thanks!
Kind Regards

Arpit Srivastav

View solution in original post

0 Likes
1 Reply
Arpit_S
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 10 likes given

Hi @TaMa_4718096 ,

 

This API call requires widgetID as one of the input arguments. A macro for the widget ID can be found in the cycfg_capsense.h file defined as CY_CAPSENSE_<WIDGET_NAME>_WDGT_ID.

Srivastav_0-1693809436429.png

For Slot IDs, you can refer to https://github.com/Infineon/cce-mtb-psoc4-msc-capsense-guard/blob/main/main.c 

Cy_CapSense_ScanSlots(CY_CAPSENSE_GUARDSENSOR_FIRST_SLOT_ID, 1, &cy_capsense_context); 

Here I have used Slot IDs

 

Thanks!
Kind Regards

Arpit Srivastav

0 Likes