View Single Post
  #5   Spotlight this post!  
Unread 02-10-2005, 21:18
foobert foobert is offline
Registered User
no team
 
Join Date: May 2005
Location: oakland, ca
Posts: 87
foobert is a jewel in the roughfoobert is a jewel in the roughfoobert is a jewel in the rough
Re: VEX Optical Shaft encoders in FRC

the guys at vexlabs.com discourage the use of interrupts because pwm generation for the motors is done in timing loops, so interrupt processing would cause glitches in the pwm. also, the high priority interrupt is used by timer0 to sync the pwm generation so that it does not happen while r/c data is being sent from the master processor, so that spi interrupts, (also high priority), do not cause glitches in the pwm.

so although they frown on use of the low priority interrupt, they really, really discourage use of the high priority interrupts.
Reply With Quote