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:
1:ba68cceb2917
Parent:
0:422060928e37
Child:
4:9cec8b1dcf09
diff -r 422060928e37 -r ba68cceb2917 LPC2368/dbg/dbg.h
--- a/LPC2368/dbg/dbg.h	Fri Jun 11 16:25:22 2010 +0000
+++ b/LPC2368/dbg/dbg.h	Fri Jun 18 09:20:27 2010 +0000
@@ -39,21 +39,26 @@
 public:
 static void debug(const char* format, ...);
 static void release();
+static void breakPoint(const char* file, int line);
 private:
 
 };
 
 #undef DBG
 #undef DBG_END
+#undef BREAK
 #define DBG DebugStream::debug
 #define DBG_END DebugStream::release
+#define BREAK() DebugStream::breakPoint(__FILE__, __LINE__)
 #endif
 
 #else
 #undef DBG
 #undef DBG_END
+#undef BREAK
 #define DBG(...)
 #define DBG_END()
+#define BREAK()
 #endif
 
 #ifdef __LWIP_DEBUG