View Single Post
Old 05-20-2008, 04:56 PM   #106 (permalink)
dcb
Don't Panic
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 2,674

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 7
Thanked 28 Times in 26 Posts
Actually, this might not be too bad. Might also solve figuring out when the engine is off.


If in the main loop, we see that the time since injHius is getting larger than a second or so, we set a flag or whatever that says "the key is turned off". We turn off the LED backlight, and don't do anything but reset the flag on the next injector interrupt...
__________________
"I kicked a giant mouse in the butt! Do I have to draw you a diagram?"
  Reply With Quote