Simple sample of using a debug class and macros.

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "debug.h"
00003 
00004 
00005 
00006 int main()
00007 {
00008     Serial  g_console(USBTX, USBRX);
00009 
00010     g_console.printf("I Rule!!\n\n");
00011 }
00012