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
main.cpp
- Committer:
- nixnax
- Date:
- 2017-10-06
- Revision:
- 187:e2cea223dd85
- Parent:
- 179:ba2b2ddd0da5
- Child:
- 189:9fc4ae041974
File content as of revision 187:e2cea223dd85:
/** @file ppp-blinky.cpp */ #include "mbed.h" #include "ppp-blinky.h" // PPP-Blinky - "The Most Basic Internet Thing" int main() { initializePpp(); // initialize the serial port(s) and structures while(1) { // main loop waitForPcConnectString(); // wait for PC to send a connect message while( connectedPpp() ) { waitForPppFrame(); // process PPP frames until we receive a disconnect command } } }