News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

PWM Example

Started by GDeSantis, Dec 12, 2021, 07:41 PM

Previous topic - Next topic

GDeSantis

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.


John Drew

That will prove useful in future.
How about putting it in the WIKI where it will be easier to find?
Cheers
John

GDeSantis


John Drew

Thanks for doing it.
John