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:
- 5:0d9e292a9d06
- Parent:
- 4:bfe306335065
- Child:
- 11:dbc310addbf6
--- a/main.cpp Tue Mar 05 10:27:40 2019 +0000 +++ b/main.cpp Fri Mar 08 08:28:14 2019 +0000 @@ -7,25 +7,17 @@ #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"); + Logger logger(true); + + NRFDevKit devKit(logger); + + WeatherStation weather(devKit, logger); - // Gives the mode - logger.log("Entering blinking state.\r\n"); - //while(true) { + logger.log("Code written by Loic Guibert\r\n"); - //devKit.blink1(); - //ThisThread::sleep_for(1000); - //} + weather.start(); - weather.start(); - } \ No newline at end of file