Library to implement various levels of messages in cpp files
Dependents: IoT_Ex BatteryModelTester BatteryModelTester
Diff: messages.h
- Revision:
- 8:7017082b1f18
- Parent:
- 7:d78684eca79d
- Child:
- 9:6821aa3ca776
--- a/messages.h Tue Apr 25 14:57:16 2017 +0000 +++ b/messages.h Wed Apr 26 13:22:27 2017 +0000 @@ -38,6 +38,7 @@ * #include "mbed.h" * * // Include the following #defines and #include to use messages.h in every *.cpp file you would like to use it in: +* //#define MEMMESSAGES // Uncomment this to use the MEM(...) message. This message will output the current values of the stack pointer and program counter * //#define DEBUG // This define is commented out, so DEBUG messages will NOT be displayed. * #define INFOMESSAGES // The next three are defined, thus INFO, WARN, and ERR messages will BE displayed. * #define WARNMESSAGES