A multifunctional and modular Firmware for Multitech's mDot based on ARM mBed provides a widerange of functionality for several Sensors such as MAX44009, BME280, MPU9250, SI1143 and uBlox. It allows you to quickly build a Sensornode that measures specific data with its sensors and sends it via LoRaWAN.

Dependencies:   mDot_LoRa_Sensornode_Flowmeter_impl mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "Application.h"
00002 #include "ApplicationConfig.h"
00003 #include "UARTTunnel.h"
00004 #include "Queue.h"
00005 
00006 
00007 int main() {
00008 
00009     Application application;
00010     application.init(APPLICATION_MODE_TEST);
00011 
00012     while (true) {
00013         sleep();
00014     }
00015 
00016     return 0;
00017 }