0
votes
1answer
77 views

Shifting between PWM options

I'm using a Freescale MC9S08DZ60 microcontroller, and Ive written the code for applying PWM on a specific pin.'This is an attempt for Breathing Effect of LED, a question i had already asked - LED ...
0
votes
1answer
207 views

Store frequency value

I'm not much of an "electrical engineer" but the required courses in my CS degree have given me enough to [albeit just barely] understand a few things, so don't judge me if what I ask is complete ...
2
votes
1answer
2k views

How do I select what values to load in CCPR1L register (for generating PWM signal with PIC)?

I need to generate PWM signal with PIC18F2550 microcontroller at near 20kHz. I read the datasheet, I found it too complex and confusing, then I started to search for a sample code on the net to ...