Tag: PWM
Posted by singularengineer Posted on May 13, 2013 20 Comments on Programming PIC 18 using XC8 (MPLAB X) : PWM (using pwm.h)
Posted in Electronics
Tagged 18F4550 pwm, PIC18, PIC18F PWM, PWM, pwm.h, XC8 compiler
Pulse Width Modulation (PWM) is used everywhere from motors to communication! It uses timer as its foundation to toggle the pins high-low at a defined period (1/frequency) and duty cycle (10 bit resolution – 210 = 1024 steps). If you…