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.

Change Pins in ta1_16.c example

Having difficulty understanding how to change pins in msp432P401 example code ta1_16.c. 

I am able to change frequency and duty cycle. Unable to figure out how to change output pins. 

Believe it is done via these three lines

P7->Dir |= BIT6 | BIT7;

P7->SEL0 |= BIT6 | BIT7;

P7->SEL1 &|= ( BIT6 | BIT7);

which sets output to p7.6~7 set Ta1.1~2

trying to use pin 2.7
but fails to generate signal after these changes

P2->Dir |= BIT6 | BIT7;

P2->SEL0 |= BIT6 | BIT7;

P2->SEL1 &|= ( BIT6 | BIT7);

Thanks for all the help
Regards Paul

**Attention** This is a public forum