Tag Archives: outputcompare

dsPIC/PIC24 PWM (using XC16 and MPLAB X)

Pulse Width Modulation (PWM) in dsPIC/PIC24 works from output compare section (OC). OC is simply a comparator. One input is from a timer and another from OC register where we set the value. The timer is used to set the … Continue reading

Posted in Electronics | Tagged , , , , | 5 Comments