Long press Capsense activity

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

cross mob
iammyur
Level 1
Level 1
10 sign-ins 5 sign-ins First reply posted

Hi. @MotooTanaka @BragadeeshV 

How can i use one capsense button with two event . Example if i am pressing capsense for 5 sec it will work for event number 2 @

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @iammyur 

 

You can do this with the help of a timer block. I am attaching a project that calls 2 functions based on the CapSense status. A short press will call Function1 and a long press (of 5 seconds) will call function2. I have prepared this for the 145-40XX kit, but you can port it to any device.

 

Best regards, 
Hari

View solution in original post

6 Replies