|
interrupts and putdata()
for our autonomous program, we are planning on using interrupts to control the motor speeds at specific intervals... i was just wondering if it was safe to call Putdata() more often than we call Getdata(). for example, if in the interrupt handler which executes say every 30-40 ms, we would modify the value of the pwms from a lookup table we have, and then we call putdata() to put those values on the actual pwms... is this going to cause problems anywhere? or can the pwm outputs only be changed every 26.2 ms no matter what?
Last edited by doy : 21-02-2004 at 13:14.
Reason: title clarification
|