About CapSense_CalibrateAllWidgets

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

cross mob
YoIs_1298666
Level 5
Level 5
250 sign-ins 100 replies posted 100 sign-ins

Hello,

There is the explanation about CapSense_CalibrateAllWidgets function like below.

and CapSense_CalibrateWidget function too.

Calibrates the IDACs for all widgets in the component to the default target (85% of maximum possible raw count) value.

But if we execute CapSense_CSDCalibrateWidget funcion and set to 60% target, do both  CapSense_CalibrateAllWidgets and CapSense_CalibrateWidget functions

calibrate the IDACs to 60%?

        CapSense_CSDCalibrateWidget(

                                    CapSense_BUTTON0_WDGT_ID,

                                    CALIBRATION_TARGET_60_PERCENT

                                    );

Best regards,

Yocchi

0 Likes
1 Solution
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi

Calling the CapSense_CSDCalibrateWidget API only sets the target percent for a particular widget. It does not affect the  CapSense_CalibrateAllWidgets API. CapSense_CalibrateAllWidgets will still calibrate the widgets to the default target percentage which is 85%.

Best regards

Harigovind

View solution in original post

0 Likes
2 Replies
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi

Calling the CapSense_CSDCalibrateWidget API only sets the target percent for a particular widget. It does not affect the  CapSense_CalibrateAllWidgets API. CapSense_CalibrateAllWidgets will still calibrate the widgets to the default target percentage which is 85%.

Best regards

Harigovind

0 Likes

Hello Harigovind-san,

Thank you very much for your advice.

Best regards,

Yocchi

0 Likes