Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ESP8266Interface HTTPClient-SSL WebSocketClient mbed-rtos mbed
Fork of ESP8266_HTTP_HelloWorld by
Revision 19:e11e3bd3c886, committed 2016-12-21
- 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 |
--- 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()