CapSense csx button long press in low power mode

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

cross mob
11cory_jingg
Level 1
Level 1
First question asked Welcome!

Hi,

I use the  CE224899_PSoC4_Low_Power_CapSense_Hybrid_Sensing  code demo.

But how do get a long csx button press event ?

Now the situation is that can only get the short press, and then the active state disappears, which function do  use to determine the state?

Now is to  uses this function -- CapSense_IsWidgetActive(CapSense_BUTTON0_WDGT_ID).

Thanks in advance,

Best regards.

 

0 Likes
1 Solution
ncbs
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 sign-ins

Hi @11cory_jingg,

Please refer to the following thread to implement the long-press functionality:

https://community.cypress.com/t5/PSoC-6-MCU/Long-Button-Press-3seconds-on-CapSense-P4-v5-10/m-p/1662...

Regards,
Nikhil

View solution in original post

0 Likes
1 Reply
ncbs
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 sign-ins

Hi @11cory_jingg,

Please refer to the following thread to implement the long-press functionality:

https://community.cypress.com/t5/PSoC-6-MCU/Long-Button-Press-3seconds-on-CapSense-P4-v5-10/m-p/1662...

Regards,
Nikhil

0 Likes