PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

PWM Example

Started by GDeSantis, Dec 13, 2021, 02:31 PM

Previous topic - Next topic


Sometime ago, I worked on an application that required 4 independent PWM timers.  The PIC16F1575 met all application requirements and since the timers had 16-bit resolution, this provided an added benefit.

A simple program that synchronizes two PWM sources (i.e. PWM1 and PWM2) and varies the PWM1 duty cycle is attached for reference.