mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
Support boards with inverted fault pin
This commit is contained in:
parent
235bcc9ff0
commit
f465020e93
|
@ -1 +1 @@
|
||||||
#define GITHUB_SHA "devel-202304111013Z"
|
#define GITHUB_SHA "devel-202304172140Z"
|
||||||
|
|
|
@ -76,9 +76,13 @@
|
||||||
// analog inputs. Here we use analog inputs A2 and A3 as A0 and A1 are wired in a way so that
|
// analog inputs. Here we use analog inputs A2 and A3 as A0 and A1 are wired in a way so that
|
||||||
// they are not useable at the same time as WiFi (what a bummer). The numbers below are the
|
// they are not useable at the same time as WiFi (what a bummer). The numbers below are the
|
||||||
// actual GPIO numbers. In comments the numbers the pins have on an Uno.
|
// actual GPIO numbers. In comments the numbers the pins have on an Uno.
|
||||||
#define STANDARD_MOTOR_SHIELD F("STANDARD_MOTOR_SHIELD"), \
|
#define STANDARD_MOTOR_SHIELD F("STANDARD_MOTOR_SHIELD"), \
|
||||||
new MotorDriver(25/* 3*/, 19/*12*/, UNUSED_PIN, 13/*9*/, 35/*A2*/, 0.70, 1500, UNUSED_PIN), \
|
new MotorDriver(25/* 3*/, 19/*12*/, UNUSED_PIN, 13/*9*/, 35/*A2*/, 0.70, 1500, UNUSED_PIN), \
|
||||||
new MotorDriver(23/*11*/, 18/*13*/, UNUSED_PIN, 12/*8*/, 34/*A3*/, 0.70, 1500, UNUSED_PIN)
|
new MotorDriver(23/*11*/, 18/*13*/, UNUSED_PIN, 12/*8*/, 34/*A3*/, 0.70, 1500, UNUSED_PIN)
|
||||||
|
|
||||||
|
#define EX8874_SHIELD F("EX8874"),\
|
||||||
|
new MotorDriver(25/* 3*/, 19/*12*/, UNUSED_PIN, 13/*9*/, 35/*A2*/, 1.17, 5000, -36 /*-A4*/), \
|
||||||
|
new MotorDriver(23/*11*/, 18/*13*/, UNUSED_PIN, 12/*8*/, 34/*A3*/, 1.17, 5000, -39 /*-A5*/)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
// STANDARD shield on any Arduino Uno or Mega compatible with the original specification.
|
// STANDARD shield on any Arduino Uno or Mega compatible with the original specification.
|
||||||
|
@ -116,6 +120,10 @@
|
||||||
new MotorDriver(2, 7, UNUSED_PIN, -9, A0, 10, 2500, 6), \
|
new MotorDriver(2, 7, UNUSED_PIN, -9, A0, 10, 2500, 6), \
|
||||||
new MotorDriver(4, 8, UNUSED_PIN, -10, A1, 10, 2500, 12)
|
new MotorDriver(4, 8, UNUSED_PIN, -10, A1, 10, 2500, 12)
|
||||||
|
|
||||||
|
#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)
|
||||||
|
|
||||||
// Firebox Mk1
|
// Firebox Mk1
|
||||||
#define FIREBOX_MK1 F("FIREBOX_MK1"), \
|
#define FIREBOX_MK1 F("FIREBOX_MK1"), \
|
||||||
new MotorDriver(3, 6, 7, UNUSED_PIN, A5, 9.766, 5500, UNUSED_PIN), \
|
new MotorDriver(3, 6, 7, UNUSED_PIN, A5, 9.766, 5500, UNUSED_PIN), \
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
#include "StringFormatter.h"
|
#include "StringFormatter.h"
|
||||||
|
|
||||||
|
|
||||||
#define VERSION "4.2.45"
|
#define VERSION "4.2.46"
|
||||||
|
// 4.2.46 - Support boards with inverted fault pin
|
||||||
// 4.2.45 - Add ONCLOCKMINS to FastClock to allow hourly repeat events
|
// 4.2.45 - Add ONCLOCKMINS to FastClock to allow hourly repeat events
|
||||||
// 4.2.44 - Add PowerShell installer EX-CommandStation-installer.exe
|
// 4.2.44 - Add PowerShell installer EX-CommandStation-installer.exe
|
||||||
// 4.2.43 - Fix STM32 set right port mode bits for analog
|
// 4.2.43 - Fix STM32 set right port mode bits for analog
|
||||||
|
|
Loading…
Reference in New Issue
Block a user