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,038

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

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 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