1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00
Go to file
2024-02-16 22:10:04 +01:00
.github Fix support request issue template 2022-11-05 05:17:03 +10:00
Release - Architecture Doc Update version.h 2023-02-22 21:28:16 +00:00
Release_Notes doc typo only 2023-03-24 00:24:03 +00:00
.gitattributes do not touch CR or CRLF of svg files 2020-11-26 15:55:52 +01:00
.gitignore Update .gitignore 2023-06-29 14:24:51 -04:00
.travis.yml Initial commit 2020-05-25 01:43:34 -06:00
CommandDistributor.cpp cast to big enough type 2023-05-24 22:58:21 +02:00
CommandDistributor.h Broadcast changes in EXRAIlr 2023-05-01 14:25:45 +01:00
CommandStation-EX.ino copyright, version and compile warnings fix 2023-07-08 08:58:00 +02:00
config.example.h copyright, version and compile warnings fix 2023-07-08 08:58:00 +02:00
CONTRIBUTING.md Create CONTRIBUTING.md 2020-12-08 07:34:59 -05:00
DCC.cpp Start motordriver as soon as possible but without waveform 2023-06-22 22:57:59 +02:00
DCC.h Start motordriver as soon as possible but without waveform 2023-06-22 22:57:59 +02:00
DCCACK.cpp Bugfix: execute 30ms off time before rejoin 2023-08-24 10:03:29 +02:00
DCCACK.h rename FAIL to CALLFAIL because of conflict in ESP32 IDE 2022-03-04 23:35:14 +01:00
DCCEX.h Rename LCDDisplay class to Display; renameEXRAIL LCD2 macro to SCREEN 2023-02-11 23:37:09 +00:00
DCCEXParser.cpp Add support for HBRIDGE Turnouts, allowing control of Kato turnouts that require reverse of polarity and short power application, easily configurable through 2-pin controlled Motor H-Bridge. 2023-11-06 21:54:25 -05:00
DCCEXParser.h return success/fail from <f> and <F> command handling (setFn, parsef) 2022-08-20 18:15:18 +02:00
DCCRMT.cpp ESP32 protect from race in RMT code 2023-07-06 15:19:44 +02:00
DCCRMT.h Send inverted signal (DCC and DC mode) on ESP32 if signalPin2 defined in MotorDriver 2022-08-13 09:12:53 +02:00
DCCTimer.h Optimize DCCTimerARV.cpp 2023-06-19 00:06:04 +02:00
DCCTimerAVR.cpp STM32 ADCee highestPin 2023-06-19 17:47:42 +08:00
DCCTimerESP.cpp ESP32: ledcSetup before ledcAttach 2023-07-17 02:22:35 +02:00
DCCTimerMEGAAVR.cpp Add MEGAAVR ADCeee skeleton. 2022-11-02 13:55:10 +08:00
DCCTimerSAMD.cpp More uint type fixes 2023-04-08 14:51:10 +08:00
DCCTimerSTM32.cpp More Nucleo variant defines 2023-07-31 16:51:25 +08:00
DCCTimerTEENSY.cpp Add Teensy ADCee class skeleton. 2022-11-02 13:46:16 +08:00
DCCWaveform.cpp ESP32 protect from race in RMT code 2023-07-06 15:19:44 +02:00
DCCWaveform.h protect from NULL deref if running without prog track 2022-08-13 01:52:44 +02:00
defines.h Set WIFI_FORCE_AP default as false 2023-07-09 12:04:40 +02:00
DIAG.h Rename LCDDisplay class to Display; renameEXRAIL LCD2 macro to SCREEN 2023-02-11 23:37:09 +00:00
Display_Implementation.h Support for multiple displays 2023-02-16 16:41:13 +00:00
Display.cpp exchange pin number to track letter part 2 2023-03-20 21:22:48 +01:00
Display.h Fix display scrolling on LCD and OLED 2023-03-19 22:06:02 +00:00
DisplayInterface.cpp Revert "Update DisplayInterface.cpp" 2023-02-24 09:39:00 +00:00
DisplayInterface.h Update DisplayInterface.h 2023-02-23 10:36:42 +00:00
EEStore.cpp (c) and version tag 2022-07-30 23:08:42 +02:00
EEStore.h SAMD Support Initial Patches 2022-05-17 18:06:08 +08:00
EthernetInterface.cpp Bugfix Ethernet shield: Static IP now possible 2023-03-10 17:49:51 +01:00
EthernetInterface.h Make EthernetInterface code more robust 2022-11-07 11:53:56 +01:00
EX-CommandStation-installer.exe Rename installer exe 2023-04-11 11:48:35 +10:00
EXRAIL.h Rename RMFT files and references to EXRAIL (#201) 2022-01-30 12:31:26 -05:00
EXRAIL2.cpp Merge 6e9a3ebfb4 into 28d60d4984 2024-02-16 22:10:04 +01:00
EXRAIL2.h Add support for HBRIDGE Turnouts, allowing control of Kato turnouts that require reverse of polarity and short power application, easily configurable through 2-pin controlled Motor H-Bridge. 2023-11-06 21:54:25 -05:00
EXRAIL2MacroReset.h Add support for HBRIDGE Turnouts, allowing control of Kato turnouts that require reverse of polarity and short power application, easily configurable through 2-pin controlled Motor H-Bridge. 2023-11-06 21:54:25 -05:00
EXRAILMacros.h Add support for HBRIDGE Turnouts, allowing control of Kato turnouts that require reverse of polarity and short power application, easily configurable through 2-pin controlled Motor H-Bridge. 2023-11-06 21:54:25 -05:00
FSH.h Ensure correct functions are called for strcpy_P, strncmp_P, strlen_P etc. on non-AVR targets.. 2023-01-23 22:28:43 +00:00
GITHUB_SHA.h Committing a SHA 2023-08-07 20:25:14 +02:00
I2CManager_AVR.h Remove redundant commented out code. 2023-02-23 20:16:29 +00:00
I2CManager_Mega4809.h I2CManager: Update native drivers for MUX support from the common code. 2023-02-10 15:47:44 +00:00
I2CManager_NonBlocking.h Update I2CManager_NonBlocking.h 2023-02-16 22:27:23 +00:00
I2CManager_SAMD.h Update I2CManager_SAMD.h 2023-02-10 18:21:06 +00:00
I2CManager_STM32.h Update version.h 2023-02-22 21:28:16 +00:00
I2CManager_Wire.h Update I2CManager_Wire.h 2023-02-25 11:43:36 +00:00
I2CManager.cpp Shorten I2C error message 2023-03-15 09:39:20 +00:00
I2CManager.h Update to comments 2023-02-25 11:42:12 +00:00
install_via_powershell.cmd Add exe version 2023-04-11 10:26:15 +10:00
installer.json Frightrisk ver4 (#205) 2022-02-16 12:02:11 -05:00
installer.ps1 Add exe version 2023-04-11 10:26:15 +10:00
installer.sh Do not invoke graphical install on Raspbian 2023-07-06 16:58:36 +02:00
IO_AnalogueInputs.h Correct display of high VPIN numbers in diagnostic output. 2023-03-27 13:08:14 +01:00
IO_DCCAccessory.cpp Correct display of high VPIN numbers in diagnostic output. 2023-03-27 13:08:14 +01:00
IO_DFPlayer.h Update IO_DFPlayer.h 2023-03-31 17:58:30 +01:00
IO_duinoNodes.h 4.2.41 Hal setup and DNOU8 fix 2023-04-05 23:19:43 +01:00
IO_ExampleSerial.h Correct display of high VPIN numbers in diagnostic output. 2023-03-27 13:08:14 +01:00
IO_EXFastclock.h Update IO_EXFastclock.h 2023-02-23 20:23:08 +00:00
IO_EXIOExpander.h Bugfix: allocate enough bytes for digital pins. Add more sanity checks when allocating memory 2024-01-20 21:45:09 +01:00
IO_EXTurntable.h RotaryEnoder, EX-Turntable fixes 2023-07-01 05:18:45 +10:00
IO_GPIOBase.h Correct display of high VPIN numbers in diagnostic output. 2023-03-27 13:08:14 +01:00
IO_HALDisplay.h Update IO_HALDisplay.h 2023-03-09 15:59:52 +00:00
IO_HCSR04.h Correct display of high VPIN numbers in diagnostic output. 2023-03-27 13:08:14 +01:00
IO_MCP23008.h Prepare HAL device drivers to support Extended I2C Addresses 2023-02-07 14:55:14 +00:00
IO_MCP23017.h Prepare HAL device drivers to support Extended I2C Addresses 2023-02-07 14:55:14 +00:00
IO_PCA9555.h GPIO PCA9555 / TCA9555 support 2023-07-29 20:34:39 +01:00
IO_PCA9685.cpp Correct display of high VPIN numbers in diagnostic output. 2023-03-27 13:08:14 +01:00
IO_PCA9685pwm.h Correct display of high VPIN numbers in diagnostic output. 2023-03-27 13:08:14 +01:00
IO_PCF8574.h Prepare HAL device drivers to support Extended I2C Addresses 2023-02-07 14:55:14 +00:00
IO_PCF8575.h Prepare HAL device drivers to support Extended I2C Addresses 2023-02-07 14:55:14 +00:00
IO_RotaryEncoder.h RotaryEnoder, EX-Turntable fixes 2023-07-01 05:18:45 +10:00
IO_ScheduledPin.h While verifying with real hardware, added micros() into the logs for ScheduledPin 2023-11-10 23:47:20 -05:00
IO_Servo.cpp Servo driver - split PCA9685 into a filter + PWM driver. 2023-02-07 17:24:05 +00:00
IO_Servo.h Correct display of high VPIN numbers in diagnostic output. 2023-03-27 13:08:14 +01:00
IO_TouchKeypad.h Correct display of high VPIN numbers in diagnostic output. 2023-03-27 13:08:14 +01:00
IO_VL53L0X.h Correct display of high VPIN numbers in diagnostic output. 2023-03-27 13:08:14 +01:00
IODevice.cpp Added disable logic 2023-04-06 07:03:59 +10:00
IODevice.h Add FLAGS device for EX-RAIL state communications. Improve VPIN display in messages. 2023-03-27 12:39:11 +01:00
LCN.cpp LCN bugfix 2023-02-12 20:38:03 +01:00
LCN.h update copyright notes 2022-01-07 02:28:35 +01:00
LICENSE Create LICENSE 2020-06-12 22:51:42 -06:00
LiquidCrystal_I2C.cpp Update LiquidCrystal_I2C.cpp 2023-02-22 21:06:39 +00:00
LiquidCrystal_I2C.h Update LCD driver to make it more reliable 2023-02-21 11:00:27 +00:00
MotorDriver.cpp AVR: Pin specific timer register seting for speed and mode when inrush throttling and for DC PWM 2023-08-02 01:05:31 +02:00
MotorDriver.h Rename track mode OFF to NONE 2023-08-02 10:00:43 +02:00
MotorDrivers.h Pin handling supports pins up to 254 2023-05-21 11:54:46 +02:00
myAutomation.example.h Update myAutomation.example.h 2023-03-18 18:53:48 +00:00
myEX-Turntable.example.h Add myEX-Turntable.example.h 2022-08-14 07:11:38 +10:00
myHal.cpp_example.txt sample file corrections 2023-08-30 23:26:20 +02:00
myHal.cpp.txt Add FLAGS device for EX-RAIL state communications. Improve VPIN display in messages. 2023-03-27 12:39:11 +01:00
objdump.bat smaller random 2022-06-18 13:58:46 +01:00
objdump.sh fix objdump.sh 2020-09-26 22:28:29 +02:00
Outputs.cpp update copyright notes 2022-01-07 02:28:35 +01:00
Outputs.h update copyright notes 2022-01-07 02:28:35 +01:00
platformio.ini ESP32 mDNS registration for throttle autodiscovery 2023-06-23 18:08:05 +08:00
README.md Update README.md 2024-02-16 18:02:40 +10:00
release_notes.md Update release_notes.md 2022-10-28 10:52:12 -04:00
RingStream.cpp Ensure correct functions are called for strcpy_P, strncmp_P, strlen_P etc. on non-AVR targets.. 2023-01-23 22:28:43 +00:00
RingStream.h HIGHMEM + WITHROTTLE 2022-12-16 13:14:48 +00:00
Sensors.cpp update copyright notes 2022-01-07 02:28:35 +01:00
Sensors.h update copyright notes 2022-01-07 02:28:35 +01:00
SerialManager.cpp Add serial output for sabertooth controller 2023-05-01 20:18:32 +02:00
SerialManager.h Command Distributor 2022-06-10 12:22:28 +01:00
SSD1306Ascii.cpp Update SSD1306Ascii.cpp 2023-02-25 11:42:43 +00:00
SSD1306Ascii.h Support for multiple displays 2023-02-16 16:41:13 +00:00
StringBuffer.cpp Command Distributor 2022-06-10 12:22:28 +01:00
StringBuffer.h HIGHMEM + WITHROTTLE 2022-12-16 13:14:48 +00:00
StringFormatter.cpp format option to write microseconds 2023-06-21 10:43:41 +02:00
StringFormatter.h Rename LCDDisplay class to Display; renameEXRAIL LCD2 macro to SCREEN 2023-02-11 23:37:09 +00:00
TrackManager.cpp Bugfix: ESP32 30ms off time 2023-08-25 19:07:57 +02:00
TrackManager.h change from trackMode[t] to track[t]->{get,set}Mode 2023-07-17 02:26:29 +02:00
Turnouts.cpp Refactor usage of delay() into an Helper IO class that schedules pin bouncing back 2023-11-09 21:16:17 -05:00
Turnouts.h Add support for HBRIDGE Turnouts, allowing control of Kato turnouts that require reverse of polarity and short power application, easily configurable through 2-pin controlled Motor H-Bridge. 2023-11-06 21:54:25 -05:00
version.h EX-IO fixes in version 2024-01-21 07:13:53 +10:00
WifiESP32.cpp copyright, version and compile warnings fix 2023-07-08 08:58:00 +02:00
WifiESP32.h copyright, version and compile warnings fix 2023-07-08 08:58:00 +02:00
WifiInboundHandler.cpp HIGHMEM + WITHROTTLE 2022-12-16 13:14:48 +00:00
WifiInboundHandler.h HIGHMEM + WITHROTTLE 2022-12-16 13:14:48 +00:00
WifiInterface.cpp Add AT check delay for longer init delays in ESP32 versions 2023-11-06 21:39:29 -05:00
WifiInterface.h copyright, version and compile warnings fix 2023-07-08 08:58:00 +02:00
WiThrottle.cpp char * / flashstring conflict 2023-05-25 14:02:28 +02:00
WiThrottle.h HIGHMEM + WITHROTTLE 2022-12-16 13:14:48 +00:00

What is DCC-EX?

DCC-EX is a team of dedicated enthusiasts producing open source DCC & DC solutions for you to run your complete model railroad layout. Our easy to use, do-it-yourself, and free open source products run on off-the-shelf Arduino technology and are supported by numerous third party hardware and apps like JMRI, Engine Driver, wiThrottle, Rocrail and more.

Currently, our products include the following:

Details of these projects can be found on our web site.

Whats in this Repository?

This repository, CommandStation-EX, contains a complete DCC-EX EX-CommmandStation sketch designed for compiling and uploading into an Arduino Uno, Mega, or Nano.

To utilize this sketch, you can use the following:

  1. (recommended for all levels of user) our automated installer
  2. (intermediate) download the latest version from the releases page
  3. (advanced) use git clone on this repository

Refer to our web site for the hardware required for this project.

We seriously recommend using the EX-Installer, however if you choose not to use the installer...

  • Open the file CommandStation-EX.ino in the Arduino IDE or Visual Studio Code (VSC). Please do not rename the folder containing the sketch code, nor add any files in that folder. The Arduino IDE relies on the structure and name of the folder to properly display and compile the code.
  • Rename or copy config.example.h to config.h.
  • You must edit config.h according to the help texts in config.h.

More information

You can learn more at the DCC-EX website