View Single Post
  #3   Spotlight this post!  
Unread 27-12-2003, 21:40
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Interrupt limitations?

[quote=randomperson]which reminds me of another pet peeve about the controller..

The whole thing where we have to send data every X ms otherwise the controller resets.. [quote]

Thats the great thing about interrupts. You can set up a timer triggered interrupt to send/recieve data, so that you don;t have to worry about time limits. It works like this. You keep two copies of the data to be sent. A timer is set up to send/ recieve the data every x ms. One copy is sortof a working copy, which is not ready to be sent and the other is a copy which is ready to be sent. when you are done with the working copy, you disable interrupts, copy the working copy to the other one and re-enable interrupts. A similar system is used on computer video cards.
__________________
1139 Alumni