websocket

Dependencies:   ESP8266Interface2 WebSocketClient mbed-dev mbed

Fork of ESP8266_WebSockets_HelloWorld by ESP8266

Revision:
15:5fa450d79491
Parent:
14:4ee468971ae0
--- a/main.cpp	Mon Jun 08 21:32:56 2015 +0000
+++ b/main.cpp	Mon Feb 06 08:25:01 2017 +0000
@@ -6,7 +6,7 @@
 
 
 
-ESP8266Interface wifi(D1,D0,D10,"demossid","password",115200); // TX,RX,Reset,SSID,Password,Baud
+ESP8266Interface wifi(PTD3,PTD2,PTD11,"demossid","password",115200); // TX,RX,Reset,SSID,Password,Baud
  
 int main() {
     wifi.init(); //Reset
@@ -29,7 +29,7 @@
         
             // clear the buffer and wait a sec...
             memset(str, 0, 100);
-            wait(0.5f);
+            //wait(0.5f);
         
             // websocket server should echo whatever we sent it
             if (ws.read(str)) {