Example program for the BSDInterface

Dependencies:   BSDInterface NetworkSocketAPI

Fork of HelloLWIPInterface by NetworkSocketAPI

Files at this revision

API Documentation at this revision

Comitter:
Christopher Haster
Date:
Thu Feb 25 04:17:48 2016 -0600
Parent:
40:6a90de1da5e2
Parent:
37:4d946ea769fd
Child:
42:d8ea089e5606
Commit message:
Merged api-changes

Changed in this revision

ESP8266Interface.lib Show annotated file Show diff for this revision Revisions of this file
NetworkSocketAPI.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Feb 25 04:14:49 2016 -0600
+++ b/main.cpp	Thu Feb 25 04:17:48 2016 -0600
@@ -21,7 +21,7 @@
 DigitalOut myled(LED_GREEN);
 void flash(){ myled = !myled; }
 
-ESP8266Interface wifi(D1, D0, 1);
+ESP8266Interface wifi(D1, D0);
 TCPSocket socket(&wifi);
 
 int main()