Hi,
You are currently updating the dutycycle register at a very fast rate, much much faster than the PWM frequency. Try insterting a short delay ( PAUSE 5 or whatever) between each duty cycle update. If that doesn't help try explaining what it does and what the problem is.
I'll have to look at Bruce's example to see if I can answer the other (first) question.
/Henrik.
EDIT: OK, looked at Bruce's example but I don't see where he's multiplying the pdcx with anything....could you clarify?
Bookmarks