Releases: Locoduino/DCCpp
Releases · Locoduino/DCCpp
Remove unnecessary files
Remove Locomotives folder not used in this project.
ESP32 current monitor+ read/write CVs
08/11/2020 V1.4.2
- Adaptation de la mesure de courant à l'ESP32.
- L'écriture de CV sur la voie de programmation retourne un booleen à false si l'écriture n'a pas été vérifiée.
- Amélioration de la procédure de lecture/écriture de CV, en Avr, et aussi en ESP32 (Merci à DCC++ Classic de l'équipe DCC++Ex (www.dcc-ex.com) ).
- Nouvelle commande texte 'r' pour lire une CV sur la voie principale.
- Current monitor adapted for ESP32
- The CV write functions on prog track now return a bool at false if the writing has not been confirmed.
- The procedure for writing and reading a Cv has been improved. Thanks to DCC++ Classic from www.dcc-ex.com team.
- New text command 'r' to read a Cv from the main track.
ESP32 compatible now
22/03/2020 V1.4.0
- Ajout de la compatibilité ESP32. Seul la partie DCC a été portée, le reste (turnout, sensor et outputs) n'est pas testé...
- En architecture AVR, un mode USE_ONLY1_INTERRUPT a été ajouté pour n'utiliser qu'une seule interruption pour les deux voies.
- Nombre de registres disponibles passé à 21 pour un Mega, et à 41 pour un ESP32.
- Ajout d'une nouvelle fonction à la classe DCCpp : setAckThreshold() pour fixer le seuil de reconnaissance de lecture/écriture de CV, par défaut à 30.
- Correction de beginMain et beginProg qui refusaient que la 'enable pin' soit non définie.
- Factorisation des fonctions d'acknowledge après une lecture/écriture de cv, ce qui permet de gagner de la mémoire.
- Correction de Outputs.cpp qui était exclu de la compilation si USE_TURNOUT (?) n'était pas activé...
- Toutes les fonctions Parse() qui analysent une syntaxe texte de commande retournent maintenant true si la commande a été traitée. Un message d'erreur s'affiche sur la console dans le cas contraire.
- La syntaxe texte pour fixer une fonction a été étendue : 'f cab fbyte' et 'f cab fbyte ebyte' sont toujours présentes, mais 'f 0 reg cab fbyte' et 'f 0 reg cab fbyte ebyte' ont été ajoutées pour pouvoir fixer le registre à charger.
- powerOn() et powerOff() qui exécutent les ordres <1> et <0> ne renvoient plus rien si elles ne font rien à cause de broches Enable indefinies.
- ESP32 mode added. Only the part DCC has been ported, the classes Turnout, Outputs and Sensor have been excluded because of lack of tests...
- On AVR achitecture, a new mode USE_ONLY1_INTERRUPT has been added to only use one interrupt for the two tracks.
- On mega the register number is now of 21, and 41 on ESP32.
- Added a new function to class DCCpp : setAckThreshold() to fix the acknowledge value for read/write of cvs. Default is 30, but can be too big for small scales and/or efficient motors...
- Fix of beginMain and beginProg to truely allow that the 'enable pin' can be undefined.
- Factorisation of acknowledgement functions after read/write of cvs. Win some program memory....
- Fix of Outputs.cpp which was ecluded from compilation if USE_TURNOUT undefined !
- All Parse() functions now return a boolean. It is true if the command analyzed by the parse function is correct. Otherwise an error message is shown on console.
- The syntax of function commands has been extended : 'f cab fbyte' and 'f cab fbyte ebyte' still exist, but 'f 0 reg cab fbyte' and 'f 0 reg cab fbyte ebyte' have been added to be able to fix the register number.
- powerOn() and powerOff() (commands <1> and <0>) functions do not return aknowledge on serial line if they do nothing because of Enable pins undefined.
Fix pinMode on ESP32 .
02/04/2020 V1.4.1
- Correction des pinMode qui n'étaient pas faits en ESP32.
- Fix on pinMode() not done in ESP32.
CV reading/writing improvements
07/08/2019 V1.3.7
- Ajout d'une nouvelle fonction à la classe DCCpp : setAckThreshold() pour fixer le seuil de reconnaissance de lecture/écriture de CV, par défaut à 30.
- Correction de beginMain et beginProg qui refusaient que la 'enable pin' soit non définie.
- Factorisation des fonctions d'acknowledge après une lecture/écriture de cv, ce qui permet de gagner de la mémoire.
- Added a new function to class DCCpp : setAckThreshold() to fix the acknowledge value for read/write of cvs. Default is 30, but can be too big for small scales and/or efficient motors...
- Fix of beginMain and beginProg to truely allow that the 'enable pin' can be undefined.
- Factorisation of acknowledgement functions after read/write of cvs. Win some program memory....
Fixes EEPROM problem.
02/08/2019 V1.3.6
- Correction du calcul de la taille de l'entête EEPROM (Pull Request #5 de positron96).
- Ajout d'une aide succinte à la configuration d'Ethernet dans la doc.
- Retrait de SignalGenerator.*
- Fixes EEPROM not working correctly (Pull Request #5 by positron96).
- Add a short config help for Ethernet in inline documentation.
- Files SignalGenerator.* removed.
Fix DCCPP_INTERFACE problem
19/06/2019 V1.3.5
- Correction de la transformation de INTERFACE en DCCPP_INTERFACE si USE_ETHERNET_* .
- Fix INTERFACE to DCCPP_INTERFACE if compiled with USE_ETHERNET_*.
CurrentMonitor improved
10/06/2019 V1.3.4
- Corrections d'INTERFACE en DCCPP_INTERFACE sur des parties non copilées par défaut qui avaient échappés à la tranformaition.
- CurrentMonitor permet de mieux gérer les surcharges séparément entre la voie principale et la voie de programmation.
- Fix INTERFACE - DCCPP_INTERFACE mistakes on hiden parts of the code not always compiled...
- CurrentMonitor can now handle separatly overloads on the main track and the prog track.
Update to new ArduiEmulatorWin
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.
v1.3.2
23/12/2018 V1.3.2
- Correction de beginProgMotorShield() qui appelait beginMain au lieu de beginProg (merci cescp)
- Correction de beginProgPololu() qui appelait beginMain au lieu de beginProg (merci cescp)
- definition of beginProgMotorShield() call now beginProg instead of beginMain (thanks cescp)
- definition of beginProgPololu() call now beginProg instead of beginMain (thanks cescp)