This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC26X2R1: Button pressed

Part Number: LAUNCHXL-CC26X2R1

Hi TI,

   I want configure 5 LED's based on the boardKey with either BTN-1 or BTN-2 based on number of times the key pressed ,the LEDs starts glowing i.e., if boradKey pressed once one LED will be glowing,two times pressed 2 LEDs and so on.

How can I get number of  times boardKey is pressed?

If I get to konw thins I can activate pins for LEDs according.

Please provide me the Code snippet for better understanding.