Eagle timers PWM Example
From Manuals
(Difference between revisions)
(Created page with '=Using Timers to Generate PWM (Pulse Width Modulation)= ==Compatibility [http://www.micromint.com/index.php/SBC/eagle-50.html Eagle 50], [http://www.micromint.com/index.php/SBC/eā¦') |
(āCompatibility Eagle 50, 50E, 100) |
||
| Line 5: | Line 5: | ||
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). | 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). | ||
| - | + | [[Image:Eagle_timers_pwm_com.png|center|]] | |
| + | |||
[[Image:Eagle_timers_pwm_scope.png|center|]] | [[Image:Eagle_timers_pwm_scope.png|center|]] | ||
Current revision as of 13:42, 11 April 2011
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).


