View Single Post
Old 05-20-2008, 04:56 PM   #106 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,019

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

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 153
Thanked 256 Times in 202 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...
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote