Releases: aikopras/AP_DCC_library
Release list
AP_DCC_Library
After receiving requests to support STM32 and ESP32 processors, I decided to restructure the library and add a generic driver for all other processors. This resulted into this Version 2 of the library. Note however, that the performance on some processors may be sub-optimal, especially at lower CPU speeds. Fortunately, due to the modular structure of this library, it should be possible to gradually add high-quality drivers over time. This modular structure could also pave the way for (later) RailCom support.
AP_DCC_Library
This Arduino library decodes (NMRA) Digital Command Control (DCC) messages. It is primarily intended for accessory Decoders and runs on ATMega processors. It has many optimizations to provide superior performance and reliability on the newer ATMega processors, such as the 4809 (Arduino Nano Every, MegaCoreX) and the AVR-DA/DB (DxCore) processors.
In this release an error was corrected that could occur in certain situations with RailCom activated and MegaXCore / DxCore microcontrollers.
AP_DCC_library V1.2.0
Initial release. This Arduino library decodes (NMRA) Digital Command Control (DCC) messages. It is primarily intended for accessory Decoders and runs on ATMega processors.
Like the NmraDcc library, this library runs on ATMega processors, such as the ATMega 328, which is used on the Arduino UNO board. Whereas the NmraDcc library also runs on other microcontrollers, such as the ESP-32 and the Raspberry Pi Pico, this library only runs ATMega processors. However, on newer ATMega processors, such as the 4809 (Arduino Nano Every, MegaCoreX) and the AVR128DA (DxCore), this library provides better performance and reliability. In addition, it is believed that this library is better structured and documented, making modifications easier.