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: libmDot mbed-rtos mbed
Fork of mDot_LoRa_Sensornode by
app/main.cpp@0:f2815503561f, 2016-07-06 (annotated)
- Committer:
- mitea1
- Date:
- Wed Jul 06 20:40:36 2016 +0000
- Revision:
- 0:f2815503561f
- Child:
- 1:fe242f3e341b
initial commit;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mitea1 | 0:f2815503561f | 1 | #include "Application.h" |
mitea1 | 0:f2815503561f | 2 | #include "ApplicationConfig.h" |
mitea1 | 0:f2815503561f | 3 | #include "UARTTunnel.h" |
mitea1 | 0:f2815503561f | 4 | |
mitea1 | 0:f2815503561f | 5 | int main() { |
mitea1 | 0:f2815503561f | 6 | |
mitea1 | 0:f2815503561f | 7 | Application application; |
mitea1 | 0:f2815503561f | 8 | application.init(ORIENTATATION_MEASUREMENT); |
mitea1 | 0:f2815503561f | 9 | |
mitea1 | 0:f2815503561f | 10 | while (true) { |
mitea1 | 0:f2815503561f | 11 | sleep(); |
mitea1 | 0:f2815503561f | 12 | } |
mitea1 | 0:f2815503561f | 13 | |
mitea1 | 0:f2815503561f | 14 | return 0; |
mitea1 | 0:f2815503561f | 15 | } |