ssc-wifi application

Dependencies:   DHT esp8266-driver

Committer:
drrrnino7
Date:
Mon Nov 06 06:18:57 2017 +0000
Revision:
1:be7ba474fb5f
Parent:
0:6f274a82671c
Child:
3:97041d02648e
Add library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
drrrnino7 0:6f274a82671c 1 #include "mbed.h"
drrrnino7 0:6f274a82671c 2
drrrnino7 1:be7ba474fb5f 3 #if defined(FEATURE_COMMON_PAL)
drrrnino7 1:be7ba474fb5f 4 #include "mbed_trace.h"
drrrnino7 1:be7ba474fb5f 5 #define TRACE_GROUP "APPL"
drrrnino7 1:be7ba474fb5f 6 #else
drrrnino7 1:be7ba474fb5f 7 #define tr_debug(...) (void(0)) //dummies if feature common pal is not added
drrrnino7 1:be7ba474fb5f 8 #define tr_info(...) (void(0)) //dummies if feature common pal is not added
drrrnino7 1:be7ba474fb5f 9 #define tr_error(...) (void(0)) //dummies if feature common pal is not added
drrrnino7 1:be7ba474fb5f 10 #endif //defined(FEATURE_COMMON_PAL)
drrrnino7 1:be7ba474fb5f 11
drrrnino7 1:be7ba474fb5f 12 #define TW_TCP_TEST_SERVER_IP "1.221.6.243"
drrrnino7 1:be7ba474fb5f 13 #define TW_TCP_TEST_SERVER_PORT 41112
drrrnino7 1:be7ba474fb5f 14
drrrnino7 1:be7ba474fb5f 15 #include "ESP8266Interface.h"
drrrnino7 1:be7ba474fb5f 16 ESP8266Interface wifi(PC_4, PC_5);
drrrnino7 1:be7ba474fb5f 17
drrrnino7 1:be7ba474fb5f 18
drrrnino7 0:6f274a82671c 19 int main()
drrrnino7 0:6f274a82671c 20 {
drrrnino7 0:6f274a82671c 21 while(1) {
drrrnino7 0:6f274a82671c 22
drrrnino7 0:6f274a82671c 23 }
drrrnino7 0:6f274a82671c 24 }