PMK2020 iks01a3 mbed
Dependencies: X_NUCLEO_IKS01A3
Diff: main.cpp
- Revision:
- 7:8895c4a4d17d
- Parent:
- 5:ad46bcbf3320
--- a/main.cpp Wed Jul 24 14:29:33 2019 +0000
+++ b/main.cpp Thu Jun 04 16:43:21 2020 +0000
@@ -38,6 +38,7 @@
/* Includes */
#include "mbed.h"
+#include "rtos.h"
#include "XNucleoIKS01A3.h"
/* Instantiate the expansion board */
@@ -167,7 +168,7 @@
/* Led blinking. */
myled = 1;
- wait(0.2);
+ ThisThread::sleep_for(200);
myled = 0;
}
}