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.
Tool/software: Code Composer Studio
how can i use onboard button P2.6 on the launchpad
You'd have to configure pin 2.6 as an input and then define what happens when it's pressed.
One very basic example would be to set the LED high when the button is pressed.
A code example which showcases the functionality that Mike explains above is provided in the TI Resource Explorer ( msp430fr413x_P1_01.c ).
The only change you would have to make in the code is to set the input to be Port 2 Pin 6 and not Port 1 Pin 3.
Best regards,
Matt
**Attention** This is a public forum