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-08-30
- Revision:
- 147:0f40005cbc5f
- Parent:
- 144:01d98cf7738e
- Child:
- 150:3366bf3d294e
File content as of revision 147:0f40005cbc5f:
/** @file ppp-blinky.cpp */ #include "mbed.h" #include "ppp-blinky.h" // PPP-Blinky - "The Most Basic Internet Of A Thing" int main() { initializePpp(); // initialize the serial port(s) and structures while(1) { scanForConnectString(); // wait for PC to send a connect message while( connected() ) { waitForPppFrame(); // process PPP frames until we receive a disconnect command } } }