Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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(); }