Go to Post Our team is using a video camera with frame-by-frame analysis to figure out all the characteristics of the foam ball. If the Boeing engineer says it's possible, I'm going to believe him. - sciencenerd [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 21-02-2004, 13:14
doy's Avatar
doy doy is offline
#1208 Ex-Lead Programmer
AKA: Jesse Luehrs
#1208 (The Super Critical Axe Men)
Team Role: Alumni
 
Join Date: Jan 2004
Location: O'Fallon, IL
Posts: 27
doy is on a distinguished road
Send a message via AIM to doy
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
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 04:21.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi