- Wed Jan 24, 2007 9:46 am
#25376
Hi
I am trying to make an adjustable frequency adjustable duty cycle PWM generator with the msp 430 2013 microcontroller, however, I cant find any code to get me on my way. I understand that I could use a crystal 33MHz crystal connected to the msp 430 and wire two analog inputs off pots to the A/D converter to control the duty cycle/Frequency. However, programmatically I don't know how to go about it can anyone help?
I am trying to make an adjustable frequency adjustable duty cycle PWM generator with the msp 430 2013 microcontroller, however, I cant find any code to get me on my way. I understand that I could use a crystal 33MHz crystal connected to the msp 430 and wire two analog inputs off pots to the A/D converter to control the duty cycle/Frequency. However, programmatically I don't know how to go about it can anyone help?