chap12/ledpwm_pic24f.c File Reference

#include "pic24_all.h"
#include <stdio.h>

Go to the source code of this file.


Detailed Description

Demonstrates pulse width modulation by controlling the intensity of an LED. The ADC input value on AN0 is used to vary the PWM period. This projects uses an external crystal for accuracy. CLOCK_CONFIG=PRIPLL_8MHzCrystal_40MHzFCY is defined in the MPLAB project. Remove this macro if you wish to use the internal oscillator.

Definition in file ledpwm_pic24f.c.


Generated on Sun Mar 15 11:14:22 2009 for PIC24 Support Libraries by  doxygen 1.5.8