|
Re: interrupts and putdata()
Quote:
|
Originally Posted by Jeff McCune
It's fine to call putdata more often than needed, but it would probably be a bad idea to call putdata from an interrupt handler because of timing issues. The interrupt pin would be disabled for as long as putdata would take to execute. I'd just set your PWM values and call putdata as you normally do.
|
You may want to just use the Generate PWM function which will update PWMs 13,14,15,16 without needing to call putdata.
__________________
Suddenly being rejected from college feels right during the build season. Now I am a mentor.
|