SEARCH
TOOLBOX
LANGUAGES
modified on 11 April 2011 at 13:42 ••• 3,573 views

Eagle timers PWM Example

From Manuals

Jump to: navigation, search

Using Timers to Generate PWM (Pulse Width Modulation)

Compatibility Eagle 50, 50E, 100

This example application demonstrates the use of timers to generate PWM.

Timer 0A is set up to output a 10 kHz signal with a 50% duty cycle on CCP0 (PB0). Timer 1A is set up to output a 10 kHz signal with a 25% duty cycle on CCP2 (PB1).