View Single Post
Old 05-25-2009, 11:44 AM   #1399 (permalink)
MazdaMatt
Master EcoModder
 
Join Date: Jun 2008
Location: London, Ontario
Posts: 1,096

2k2Prot5 - '02 Mazda Protege5
90 day: 33.82 mpg (US)
Thanks: 0
Thanked 17 Times in 14 Posts
I'm sorry... i thought that i read above that you were doing PI at 16Khz... ignore this entire line of questioning. My bad.

edit - i highly recommend putting each of those if( blah % x) into its own timer interrupt. Arrange the priorities correctly and you'll never overrun an interrupt time.
  Reply With Quote