I am trying to generate PWM using Energia with MSP432.
I used analogWrite but it only has fixed frequency around 500 Hz. Is there a way to change the frequency in energia?
Plus, I also tried to use tone, but I could not get 40kHz. (I was able to get 10kHz)
I know CCS can do this, but I want to stay in Energia.
Thank you!