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-11-18
- Revision:
- 8:2ef0f459bc83
- Parent:
- 3:36ee2aa7945a
- Child:
- 12:9bd8f04df514
File content as of revision 8:2ef0f459bc83:
#include <stdint.h> #include "periphs.h" #include "system.h" #include "led.h" #include "clock.h" #include "tick.h" #include "log.h" #include "net-server.h" #include "settings.h" #include "server-ntp.h" #include "server-http.h" #include "gps.h" #include "watchdog.h" int main() { PeriphsInit(); SystemInit(); LedInit(); SettingsInit(); ClockInit(); LogInit(ClockTmUtc, 115200); GpsInit(); NetServerInit(); ServerHttpInit(); ServerNtpInit(); WatchdogInit(); while (1) { LogMain(); ClockMain(); GpsMain(); NetServerMain(); WatchdogMain(); } }