No more internal begin() of Serial class, to avoid problems with the DUE, even in SerialCommander. Serial.begin must be done, if necessary, in .ino file .
Ajout de test.bat pour compiler automatiquement les exemples et obtenir un rapport.
Macros removed.
Simplification of code writing for library users by automatic instanciation of commanders, and removing of all constructor arguments moved to the begin() functions. No more pointers in the .ino file !
Added test.bat to check syntax of all examples and reading a final text report.
17/05/2016 V0.91
Correction de DccCommander qui ne marchait pas du tout !
Fix of SerialCommander, to be able to use any kind of serial class, from the hardware serials of Arduinos, to software emulations by AltSoftSerial or SoftwareSerial .
Added Arduino Due compatibility, but by using the classic IDE functions to access the pins, not the fast direct addressing of processor ports.
18/03/2016 V0.50
Nouveau nom 'Commanders' pour la bibliothèque. Les classes et les defines ont suivi le mouvement.
Now the ButtonsCommander::Loop function returns the selected id or UNDEFINED_ID. LastSelectedButton is the ... Last selected button ! Works also with composite buttons like ButtonsCommanderAnalogPushes. In this case, this is the item which is kept.
A sample SimpleButtonsByIds has been added to test this mode.
Big fix on dynamic memory size, because of CV list in DccCommander, but mostly because of SerialCommander which reference the Serial* default classes from the kernel, each one allocating 150 bytes of internal buffer !