PN Version01 ESP

Dependencies:   ESP8266Interface HTTPClient-SSL WebSocketClient mbed-rtos mbed

Fork of ESP8266_HTTP_HelloWorld by ESP8266

Files at this revision

API Documentation at this revision

Comitter:
fwndz
Date:
Wed Dec 21 09:01:52 2016 +0000
Parent:
18:3209e51b731a
Commit message:
init

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 3209e51b731a -r e11e3bd3c886 main.cpp
--- a/main.cpp	Tue Jun 09 17:49:47 2015 +0000
+++ b/main.cpp	Wed Dec 21 09:01:52 2016 +0000
@@ -4,8 +4,8 @@
 #include "TCPSocketConnection.h"
 #include "Websocket.h"
 
-ESP8266Interface wifi(D1,D0,D2,"demossid","password",115200); // TX,RX,Reset,SSID,Password,Baud
-RawSerial pc(USBTX, USBRX); // tx, rx
+ESP8266Interface wifi(PA_2, PA_3,PA_7,"FearOfTheDark","PabloEscobar",115200); // TX,RX,Reset,SSID,Password,Baud
+RawSerial pc(PB_6, PB_7); // tx, rx
 HTTPClient http;
 char str[512];
 int main()