View Single Post
Old 05-29-2009, 11:50 PM   #1493 (permalink)
EcoModding Lurker
Join Date: Aug 2008
Location: Calgary, AB
Posts: 21

Corolla bandit - '05 Toyota Corolla CE
Thanks: 1
Thanked 1 Time in 1 Post
I'm really looking forward to seeing the new code.
The compiler will be optimizing all math with powers of 2 to be bit shifts, 1 clock cycle vs lots of cycles.
Because the ADC is going fast now, could we have the throttle and temperature checks happen in the time between current checks . You could put the temp and throttle into the interrupt when the current finishes. The ADC should easily be finished before the next current read. Then we can always check the current.
  Reply With Quote