yes Spada / Mbed OS programme

main.cpp

Committer:
loicguibert
Date:
2019-03-25
Revision:
12:856286ad4cdc
Parent:
11:dbc310addbf6
Child:
28:4c0d163ba01a

File content as of revision 12:856286ad4cdc:

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

#include "Logger.h"

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


int main () {
    
    // Instantiate of various data members 
    Logger logger(true);

    NRFDevKit devKit(logger);

    // Instantiate of the station
    WeatherStation weather(devKit, logger, BLE::Instance());
    
    logger.log("Code written by Loic Guibert\r\n");
        
    // Station's launch
    weather.start();
    
}