yes Spada / Mbed OS programme

main.cpp

Committer:
loicguibert
Date:
2019-03-19
Revision:
11:dbc310addbf6
Parent:
5:0d9e292a9d06
Child:
12:856286ad4cdc

File content as of revision 11:dbc310addbf6:

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

#include "Logger.h"

#include "NRFDevKit.h"
#include "WeatherStation.h"
#include "GAPPeripheral.h"
#include "ble/BLE.h"


int main () {
    
    Logger logger(true);

    NRFDevKit devKit(logger);

    WeatherStation weather(devKit, logger, BLE::Instance());
    
    logger.log("Code written by Loic Guibert\r\n");
        
    weather.start();
    
}