Skip to content

Commit

Permalink
Support DCC-EX shield
Browse files Browse the repository at this point in the history
  • Loading branch information
habazut committed May 20, 2023
1 parent fcf0520 commit 99521f8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions MotorDrivers.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
new MotorDriver(3, 12, UNUSED_PIN, UNUSED_PIN, A0, 2.99, 2000, UNUSED_PIN), \
new MotorDriver(11, 13, UNUSED_PIN, UNUSED_PIN, A1, 2.99, 2000, UNUSED_PIN)

// DCC-EX TI DRV8874 based motor shield
// This motor shield has reverse sense fault pins thus the -A4 and -A5 pin values.
#define EX8874_SHIELD F("EX8874"), \
new MotorDriver( 3, 12, UNUSED_PIN, 9, A0, 4.86, 5000, A4), \
new MotorDriver(11, 13, UNUSED_PIN, 8, A1, 4.86, 5000, A5)

// Pololu Motor Shield
#define POLOLU_MOTOR_SHIELD F("POLOLU_MOTOR_SHIELD"), \
new MotorDriver( 9, 7, UNUSED_PIN, -4, A0, 18, 3000, 12), \
Expand Down
1 change: 1 addition & 0 deletions config.example.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ The configuration file for DCC-EX Command Station
// FIREBOX_MK1 : The Firebox MK1
// FIREBOX_MK1S : The Firebox MK1S
// IBT_2_WITH_ARDUINO : Arduino Motor Shield for PROG and IBT-2 for MAIN
// EX8874_SHIELD : DCC-EX TI DRV8874 based motor shield
// |
// +-----------------------v
//
Expand Down
3 changes: 2 additions & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

#include "StringFormatter.h"

#define VERSION "4.1.5"
#define VERSION "4.1.6"
// 4.1.6 Support DCC-EX shield
// 4.1.5 Bugfix LCN number parsing
// 4.1.4 Bugfix for issue #299 TurnoutDescription NULL
// 4.1.3 Bugfix: Ethernet init order
Expand Down

0 comments on commit 99521f8

Please sign in to comment.