Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1d02311f54
Fetching contributors…

Cannot retrieve contributors at this time

file 19 lines (17 sloc) 0.422 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifdef ENABLE_PWRFAILDETECT
/**
* Copyright 2009 Jonathan Oxer <jon@oxer.com.au>
* Distributed under the same terms as OBDuino
*/

/**
* powerFail
* ISR attached to falling-edge interrupt 0 on digital pin 2
*/
void powerFail()
{
  //VDIP.print("CLF OBDUINO.CSV");
  //VDIP.print(13, BYTE);
  digitalWrite(LOG_LED, LOW);
  analogWrite(BrightnessPin, brightness[0]); // Turn off the backlight to save power
}

#endif
Something went wrong with that request. Please try again.