|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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 |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Interrupts per second | steven114 | Programming | 10 | 17-02-2004 13:59 |
| INT2 and INT3 interrupts not working | Mercutio | Programming | 4 | 01-02-2004 13:27 |
| EDU Demo Code: Encoder Interfacing Using Interrupts | Kevin Watson | Programming | 4 | 08-01-2004 23:14 |
| Interrupts Questions | mightywombat | Programming | 0 | 03-01-2004 14:50 |
| Problem with interrupts on the PIC | Mike Betts | Programming | 7 | 16-12-2003 21:26 |