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: net lpc1768 crypto clock web log
main/main.c
- Committer:
 - andrewboyson
 - Date:
 - 2018-12-29
 - Revision:
 - 16:3d40d832dc70
 - Parent:
 - 12:9bd8f04df514
 - Child:
 - 18:eda70c3ee1a0
 
File content as of revision 16:3d40d832dc70:
#include <stdint.h>
#include "periphs.h"
#include "system.h"
#include "led.h"
#include "clock.h"
#include "time.h"
#include "log.h"
#include "net-server.h"
#include "settings.h"
#include "server-ntp.h"
#include "http-server.h"
#include "gps.h"
#include "watchdog.h"
int main()
{
          PeriphsInit();
           SystemInit();
              LedInit();
         SettingsInit();
            ClockInit();
              LogInit(ClockTmUtc, 115200);
              GpsInit();
        NetServerInit();
       HttpServerInit();
        ServerNtpInit();
         WatchdogInit();
      
    while (1)
    {   
              LogMain();
            ClockMain();
              GpsMain();
        NetServerMain();
         WatchdogMain();
    }
}