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.
Diff: main.cpp
- Revision:
- 11:dbc310addbf6
- Parent:
- 5:0d9e292a9d06
- Child:
- 12:856286ad4cdc
diff -r ba8917ba1945 -r dbc310addbf6 main.cpp --- a/main.cpp Tue Mar 12 13:34:08 2019 +0000 +++ b/main.cpp Tue Mar 19 20:48:48 2019 +0000 @@ -5,7 +5,8 @@ #include "NRFDevKit.h" #include "WeatherStation.h" - +#include "GAPPeripheral.h" +#include "ble/BLE.h" int main () { @@ -14,7 +15,7 @@ NRFDevKit devKit(logger); - WeatherStation weather(devKit, logger); + WeatherStation weather(devKit, logger, BLE::Instance()); logger.log("Code written by Loic Guibert\r\n");