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-05
- Revision:
- 4:bfe306335065
- Parent:
- 2:1dece5699c8b
- Child:
- 5:0d9e292a9d06
File content as of revision 4:bfe306335065:
#include "mbed.h" #include "rtos.h" #include "Logger.h" #include "NRFDevKit.h" #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"); // Gives the mode logger.log("Entering blinking state.\r\n"); //while(true) { //devKit.blink1(); //ThisThread::sleep_for(1000); //} weather.start(); }