1 Reply Latest reply on Mar 5, 2018 1:46 PM by bor1andrey_1694756

    Get the status of 1 button when using CapSense in PSoC4

    bor1andrey_1694756

      Hello. Where can I read how to get the status of 1 button when using CapSense in PSoC4. In all examples only sliders and position finding.

      I want to write a simple type code:

      button = CapSense_GetButton(num_of_button);      // coined command

      if (button != 0)

      {

           // to do something

      }

      else

      {

           do something different

      }

       

      In CapSenseCSD component datasheet I can not find the right command.