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.

CCS/MSP430FR2532: msp430fr2532

Part Number: MSP430FR2532

Tool/software: Code Composer Studio

hi i am implementing  2 capacitive key using msp430fr2532 ,  i want to make a application in which when i touch a key the corresponding led should turn on  . i have used CAP0.2 and CAP0.3 for switches .my LEDs are connected to P1.0 and P1.1 .

problem:-

1  )  initall when the code was generated no any led was glowing when i touched the key but then i changed the bits of LED1 and LED2

by assigning P1.0 as BIT0 and P1.1 as BIT1

#define LED1_PIN                                                         (BIT0)

#define LED2_PIN                                                         (BIT1)

but my led 2 is not working (is it right to assign BIT1 to P1.1 of msp430fr2532).

 2)  when i press any key only LED connected to P1.0 turns on while i want to turn it on only when key one is pressed   .

**Attention** This is a public forum