yes Spada / Mbed OS programme

main.cpp

Committer:
loicguibert
Date:
2019-03-05
Revision:
4:bfe306335065
Parent:
2:1dece5699c8b
Child:
5:0d9e292a9d06

File content as of revision 4:bfe306335065:

#include "mbed.h"
#include "rtos.h"

#include "Logger.h"

#include "NRFDevKit.h"
#include "WeatherStation.h"


//  Set the logger handler
Logger logger(true);

NRFDevKit devKit(logger);

WeatherStation weather(devKit, logger);

int main () {
    
    logger.log("Code written by Loic Guibert.\r\n");
    
    //  Gives the mode
    logger.log("Entering blinking state.\r\n");
    //while(true) {
        
        //devKit.blink1();
        //ThisThread::sleep_for(1000);
    //}
    
    weather.start();

}