Lab2_web / Mbed 2 deprecated webserverBlinky

Dependencies:   mbed

Fork of webserverBlinky by RealTimeCompLab2

main.cpp

Committer:
nixnax
Date:
2017-08-28
Revision:
142:54d1543e23e5
Parent:
141:4cc1518ee06f
Child:
144:01d98cf7738e

File content as of revision 142:54d1543e23e5:

/** @file ppp-blinky.cpp */
#include "mbed.h"
#include "ppp-blinky.h"

// PPP-Blinky - "The Most Basic Internet Of a Thing"

int main()
{
    initialize(); // 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
        }
    } 
}