Serves a webpage and saves the user entered data in a .txt file all on the MBED

Dependents:   HTTPServerCustom

Fork of EthernetNetIf by Donatien Garnier

Revision:
4:9cec8b1dcf09
Parent:
1:ba68cceb2917
Child:
5:bc7df6da7589
diff -r 0401477beaa3 -r 9cec8b1dcf09 LPC2368/dbg/dbg.h
--- a/LPC2368/dbg/dbg.h	Fri Jun 18 10:28:59 2010 +0000
+++ b/LPC2368/dbg/dbg.h	Fri Jul 09 14:34:26 2010 +0000
@@ -47,7 +47,7 @@
 #undef DBG
 #undef DBG_END
 #undef BREAK
-#define DBG DebugStream::debug
+#define DBG(...) do{ DebugStream::debug("[%s:%s@%d] ", __FILE__, __FUNCTION__, __LINE__); DebugStream::debug(__VA_ARGS__); } while(0);
 #define DBG_END DebugStream::release
 #define BREAK() DebugStream::breakPoint(__FILE__, __LINE__)
 #endif