From 9917035534470d094618a11749696e0a7844a933 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sat, 26 Sep 2020 23:33:47 +0200 Subject: [PATCH] PROG_TRIP_CURRENT defined here until made runtime changable --- MotorDrivers.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MotorDrivers.h b/MotorDrivers.h index 79bcd4f..b7ed3de 100644 --- a/MotorDrivers.h +++ b/MotorDrivers.h @@ -14,6 +14,10 @@ const byte UNUSED_PIN = 255; +// Trip current for programming track in mA. Change only if you really +// need to be non-NMRA-compliant because of decoders that are not either. +#define TRIP_CURRENT_PROG 250 + // MotorDriver(byte power_pin, byte signal_pin, byte signal_pin2, byte brake_pin, byte current_pin, // float senseFactor, unsigned int tripMilliamps, byte faultPin);