DCCpp
This is the library version of a program for Arduino to control railroading DCC devices.
Revision History
03/06/2019 V1.3.3
  • Mise à jour de la partie Visual Studio pour le nouveau ArduiEmulatorWin
  • Remplacement de INTERFACE par DCCPP_INTERFACE pour éviter un conflit de nommage
  • Change LIBRARY_VERSION en DCCPP_LIBRARY_VERSION
  • Correction de l'exemple EthernetDcc pour le numéro de pin à 11 au lieu de 3...
  • Retrait d'un fichier inutile dans les sources.
  • powerOn() et powerOff() peuvent maintenant couper/remettre le courant sur les deux voies indépendamment.
  • Update to use the new ArduiEmulatorWin
  • Replace of INTERFACE by DCCPP_INTERFACE to avoid naming conflict.
  • Change LIBRARY_VERSION to DCCPP_LIBRARY_VERSION
  • Fix pin number from 11 to 3 in sample EthernetDcc.ino
  • Removing of an unused file in src.
  • powerOn() and powerOff() can now stop/restore the current on each track independantly.
23/12/2018 V1.3.2
  • Correction de beginProgMotorShield() qui appelait beginMain au lieu de beginProg
  • Correction de beginProgPololu() qui appelait beginMain au lieu de beginProg
  • definition of beginProgMotorShield() call now beginProg instead of beginMain
  • definition of beginProgPololu() call now beginProg instead of beginMain
15/07/2018 V1.3.1
  • Correction du format de Keywords.txt
  • Création de LIBRARY_VERSION
  • Mise en conformité de la partie doc HTML avec DOXYGEN_SPECIFIC
  • Ajout du fichier LICENSE
  • Fix Keywords.txt format.
  • LIBRARY_VERSION created
  • Update of DOXYGEN_SPECIFIC part for HTML documentation.
  • Add of LICENSE file
02/04/2018 V1.3.0
  • Ajout de IsMainTrack qui identifie la voie (principale/programmation) selon le RegisterList en argument.
  • Correction de identifyLocoId qui ne marchait que sur la voie principale.
  • Correction de arduino.h en Arduino.h
  • Add of IsMainTrack to identify the track (main/prog) according to the given RegisterList.
  • Fix identifyLocoId which was only working on main track.
  • Change arduino.h in Arduino.h
08/01/2018 V1.2.0
  • Retrait de l'argument locoId des fonctions de lecture/écriture de CV : sans objet !
  • Ajout des arguments callback et callbacksub de passage d'information libre dans les fonctions readCv et writeCv. C'est une mise en conformité avec les fonctions originales.
  • Amélioration des fonctions identifyLocoIdMain et Prog pour lire aussi les adresses longues.
  • Argument locoId removed from read and write CV functions : not used !
  • Arguments callback and callbacksub added to read/write CVs, to be conform to original functions.
  • Improvement of new functions identifyLocoIdMain and Prog to be able to get long addresses.
08/01/2018 V1.1.0
  • Correction de readCV(ints) et readCV(string) qui ne retournaient aucune valeur !
  • Correction d'un warning dans les exemples miniDcc et maxiDcc.
  • Ajout de identifyLocoIdMain() et identifyLocoIdProg() pour lire le CV1 d'une loco présente sur la voie.
  • Fix readCV(ints) and readCV(string) to return values !
  • Fix a warning in samples mini and maxi.
  • Added identifyLocoIdMain() and identifyLocoIdProg() to find the address of a decoder on the track.
08/01/2018 V1.0.1
  • Correction des exemples mini et maxi qui ne géraient pas correctement l'encodeur.
  • Ajout d'un test pour un beginMain/beginProg avec le signal pin à 255.
  • Fix samples mini and maxi which did not use EVENT_ENCODER event !
  • Add a test in beginMain/beginProg to check undefined signal pin.
27/12/2017 V1.0.0
  • Pour se conformer à la norme DCC, la commande DCC de fonction est doublée.
  • Correction de Sensor dont le 'check' provoquait une grande quantité de lignes vides sur la console.
  • To be closer of the DCC norm, the function DCC orders will be send twice.
  • Fix Sensor::check(). A lot of empty lines was sent to the Serial console...
22/12/2017 V0.9.0
  • Envoi de la seule commande DCC concernée lors d'une activation/désactivation de fonction.
  • Nouvel exemple Autotest.
  • Send only necessary DCC command when activating/dis-activating a function.
  • New sample Autotest.
11/12/2017 V0.8.0
  • fin de la documentation
  • DCCpp classe passée en statique
  • Ajout d'un test de numéro de registre sur setFunctions()
  • les variables 'ToLeft' ont été changées pour 'Forward', pour mieux coller à la norme DCC.
  • Correction de EEStore.store()
  • End of documentation
  • DCCpp class goes to static.
  • setFunctions() now checks for register number in debug mode.
  • 'ToLeft' variables have been changed to 'Forward', closer from DCC norm.
  • Fix EEStore.store()
27/11/2017 V0.7.0
  • Retour des chaines de validation de commande renvoyées à l'interface...
  • Définition de ARDUINO_AVR_MEGA2560 si ARDUINO_AVR_MEGA défini.
  • Ajout des fonctions beginMainMotorShield, beginProgMotorShield, beginMainPololu et beginProgPololu
  • EthernetProtocol::None supprimé.
  • Acknowledgment strings are back.
  • ARDUINO_AVR_MEGA2560 defined if ARDUINO_AVR_MEGA defined.
  • Added functions beginMainMotorShield, beginProgMotorShield, beginMainPololu and beginProgPololu
  • EthernetProtocol::None removed.
25/11/2017 V0.6.0
  • Retour des chaines de validation de commande renvoyées à l'interface...
  • Corrections de Turnout et Output quand EEPROM utilisée.
  • Acknowledgment strings are back.
  • Fixes for Turnout and Output when EEPROM is used.
25/08/2017 V0 Initial Release
  • DCCpp est le portage du programme DCC++ en bibliothèque.
  • DCCpp is the transcription of the DCC++ program into a library.