...
 
Commits (3)
#define MODE_OFF 0
#define DEBUG_WITH_BUILTIN_LED true
#define DEBUG_WITH_BUILTIN_LED false
#define PIN_OUT_BUILTIN_LED 7
// Foreground Modes
......@@ -318,8 +318,11 @@ void loop()
if (hold_time[btn_horn] > 0)
{
digitalWrite(PIN_OUT_HORN, HIGH); // TOOOOOOT
#if DEBUG_WITH_BUILTIN_LED
digitalWrite(PIN_OUT_BUILTIN_LED, HIGH);
}
#endif
}
else
digitalWrite(PIN_OUT_HORN, LOW);
......