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: mbed
Fork of webserverBlinky by
Diff: main.cpp
- Revision:
- 193:8d3c9e94a4fb
- Parent:
- 189:9fc4ae041974
diff -r 73fdbdc479dd -r 8d3c9e94a4fb main.cpp --- a/main.cpp Sat Nov 11 10:32:20 2017 +0000 +++ b/main.cpp Mon Nov 20 22:03:28 2017 +0000 @@ -6,11 +6,16 @@ int main() { +// int i =1; initializePpp(); // initialize the serial port(s) and structures +// l_on(); while(1) { - waitForPcConnectString(); // wait for PC to send a connect message + waitForPcConnectString(); // wait for PC to send a connect message +// l_off(); while( connectedPpp() ) { + waitForPppFrame(); // process PPP frames until we receive a disconnect command } + } -} \ No newline at end of file +}