3 Replies Latest reply on Feb 11, 2018 6:10 PM by terrychan_3034126

    CapSense CSD buttons problem

    terrychan_3034126

      Hi,

       

      I am using CYBLE-014008-EVAL.

      I have configured 2 touch buttons using CapSense CSD module.

      I have been reference to the example CE210291_CapSense_P4_One_Button

       

      I tried to use:

      CapSense_CSD_Start();                                                  to start CapSense function

      CapSense_CSD_ScanSensor(button_id);                    to scan a button

      CapSense_CSD_CheckIsSensorActive(button_id)     to check whether the button is pressed

       

      However, CapSense_CSD_CheckIsSensorActive(button_id) always returned 'FAIL'

       

      Did I use the right function?

      Can anyone show me a example code?

       

      Thanks!

      Terry