Jim Cooper
/
simple_debug
Simple sample of using a debug class and macros.
Diff: main.cpp
- Revision:
- 0:885c11431d59
diff -r 000000000000 -r 885c11431d59 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Aug 30 00:05:14 2015 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" +#include "debug.h" + + + +int main() +{ + Serial g_console(USBTX, USBRX); + + g_console.printf("I Rule!!\n\n"); +} +