pwm with PICs
Posted: Tue Dec 09, 2008 5:55 pm
I'm having a great time with the PIC tutorial - it is very well written and easy to understand. There is one specific application that is not covered however, and it is one that I really need to understand - how to use the pwm modules on the PIC. I am going to be programming a 16F616 and use its A/D to monitor 4 temps. The pwm output will be controlling the voltage applied to reach the temps. I am actually going to be using only one output rather than four, and I will be adjusting the pwm voltage output according to the range of readings I receive through the A/Ds. My question is - how do you use the pwm feature on the PIC? Do you have any code examples of a similiar application? I am programming in assembly. Thanks for any help!