domenica 8 aprile 2012

PWM Demo with PIC24F and PIC32MX

2 new demos added about PWM.

The zip file for PIC24F contains 4 examples: 2 about PWM in left-aligned mode and 2 about PWM in center-aligned-mode. One example generates a 50% fixed-duty cycle PWM at 20KHz, the other example uses a potentiometer/trimmer on an analog input for duty cycle adjusting.

The zip file for PIC32MX contains 1 example since the OC module of PIC32mx is only capable to generate PWM in left-aligned mode. The example generates a 50% fixed-duty cycle PWM at 20KHz.

Nessun commento:

Posta un commento