ssc-wifi application

Dependencies:   DHT esp8266-driver

Revision:
1:be7ba474fb5f
Parent:
0:6f274a82671c
Child:
3:97041d02648e
diff -r 6f274a82671c -r be7ba474fb5f main.cpp
--- a/main.cpp	Fri Oct 27 05:51:31 2017 +0000
+++ b/main.cpp	Mon Nov 06 06:18:57 2017 +0000
@@ -1,5 +1,21 @@
 #include "mbed.h"
 
+#if defined(FEATURE_COMMON_PAL)
+#include "mbed_trace.h"
+#define TRACE_GROUP "APPL"
+#else
+#define tr_debug(...) (void(0)) //dummies if feature common pal is not added
+#define tr_info(...)  (void(0)) //dummies if feature common pal is not added
+#define tr_error(...) (void(0)) //dummies if feature common pal is not added
+#endif //defined(FEATURE_COMMON_PAL)
+
+#define TW_TCP_TEST_SERVER_IP "1.221.6.243"
+#define TW_TCP_TEST_SERVER_PORT 41112
+
+#include "ESP8266Interface.h"
+ESP8266Interface wifi(PC_4, PC_5);
+
+
 int main()
 {
     while(1) {