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.

Generate a PWM signal

Hi all,

I would like to order a led and a phototransistor with the PWM output of the MCU MSP430FR5949 but when I consulted the datasheeet, I saw that only the pine 11 is available for the PWM signal.
My question is therefore how to drive the led and phototransistor with a single pine.
Can you offer me an algorithm to perform the PWM function please ? I program the MCU in C

Thank you in advance

Best regards

**Attention** This is a public forum