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: C12832_lcd EthernetInterface WebSocketClient mbed-rtos mbed
Revision 1:c15b0540e252, committed 2018-08-27
- Comitter:
- MohamadNazrin
- Date:
- Mon Aug 27 07:52:10 2018 +0000
- Parent:
- 0:f36d489a4172
- Commit message:
- websocket
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Mar 07 09:06:58 2018 +0000
+++ b/main.cpp Mon Aug 27 07:52:10 2018 +0000
@@ -17,6 +17,8 @@
eth.connect();
printf("IP Address is %s\n", eth.getIPAddress()); // display at terminal
lcd.printf("IP address: %s \n",eth.getIPAddress()); // display LCD screen
+
+
// websocket
Websocket ws("ws://192.168.1.109:8000/ws");
bool c = ws.connect();