Pic PWM Curveing over time

Status
Not open for further replies.

chevymn1964

Full Member level 2
Joined
Apr 1, 2006
Messages
120
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Location
Santa Rosa, Ca.
Visit site
Activity points
2,551
Hello all, I am working on a project where I need to make an ajustable PWM Curve over time... Any ideas on calculating/ creating a fully adustable ramp ( 10 bit range ) in assembly?
 

If the curve is to be constant, you can store the required duty cycle values in a table, retrieve the values periodically (depending on the required frequency) and then assign them to the duty cycle register. Then filter the output.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…