![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Smart_Miun
Dependencies: libmDot-mbed5 LoRa_Miun_lib
Fork of Dot-Examples by
Diff: project/inc/example.h
- Revision:
- 25:c54ffd0a0437
- Parent:
- 22:7230c1ce7bc2
--- a/project/inc/example.h Thu Apr 20 07:03:29 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,38 +0,0 @@ -#ifndef __EXAMPLE_H__ -#define __EXAMPLE_H__ - -#include "AppUnit.h" -#include "SmartApp.h" - - -class Application1: public MIUN::AppUnit -{ -public: - Application1(uint8_t appNumber):AppUnit(appNumber){}; - - //@override - virtual void run(std::string payload); - - virtual void interrupt(); - -}; - -class Application2: public MIUN::AppUnit -{ -public: - Application2(uint8_t appNumber):AppUnit(appNumber){}; - - //@override - //virtual void interrupt(); - -}; - - -class SmartApp_Example: public MIUN::SmartApp -{ -public: - //@override - virtual uint8_t measuredBattery(); -}; - -#endif \ No newline at end of file