DCCpp
This is the library version of a program for Arduino to control railroading DCC devices.
DCCpp.hdoc
1 #ifdef DOXYGEN_SPECIFIC
2 // DO NOT CHANGE THE LINES IN THIS BLOCK 'DOXYGEN_SPECIFIC' : Only here for documentation !
3 
4 /** If this is defined, the library will do many checks during setup and execution, and print errors, warnings and
5 information messages on console. These messages can take a lot of memory, so be careful about the free memory of
6 your program if you activate debug mode.*/
7 #define DCCPP_DEBUG_MODE
8 /** If this is defined, the Verbose mode lets you see all actions done by the library, but with a real flood of
9 text to the console... It has no effect if DCCPP_DEBUG_MODE is not activated.*/
10 #define DCCPP_DEBUG_VERBOSE_MODE
11 /** If this is defined, the function Accessories::printAccessories() will become available. This is useful to try
12 to understand why a port, or an accessory is not corretly defined.
13 This function uses a lot of memory, so activate it only if necessary, and be careful about your program's memory.
14 You can use the define PRINT_DCCPP() in your sketch instead of a call to DCCpp.showConfiguration().
15 If DCCPP_PRINT_DCCPP is not defined, PRINT_DCCPP is defined as empty, so you will not have a compilation error.*/
16 #define DCCPP_PRINT_DCCPP
17 /** If this is defined, the state of all the library will not be saved to EEPROM.*/
18 #endif