From fbb9841f3ac0fcc3289f8465566e6c27643971de Mon Sep 17 00:00:00 2001 From: Fred Date: Wed, 17 Feb 2021 15:39:45 -0500 Subject: [PATCH] Update MotorDrivers.h Add a motor board definition for using the IBT_2 board for a high current to the main track and keep the Arduino Motor Shield for operating the programming track. --- MotorDrivers.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MotorDrivers.h b/MotorDrivers.h index a277bbf..5d4f026 100644 --- a/MotorDrivers.h +++ b/MotorDrivers.h @@ -57,4 +57,9 @@ new MotorDriver(10, 12, UNUSED_PIN, 9, A0, 2.99, 2000, UNUSED_PIN), \ new MotorDriver(11, 13, UNUSED_PIN, UNUSED_PIN, A1, 2.99, 2000, UNUSED_PIN) +// IBT_2 Motor Board for Main and Arduino Motor Shield for Prog +#define IBT_2_WITH_ARDUINO("IBT_2_WITH_ARDUINO_SHIELD"), \ + new MotorDriver(4, 5, 6, UNUSED_PIN, A5, 41.54, 5000, UNUSED_PIN), \ + new MotorDriver(11, 13, UNUSED_PIN, UNUSED_PIN, A1, 2.99, 2000, UNUSED_PIN) + #endif