updated for mbed-os 5.5
Fork of Task121 by
Diff: main.cpp
- Revision:
- 9:5ac40ff61514
- Parent:
- 8:31e49e1d9386
- Child:
- 11:d7337ffe7f85
diff -r 31e49e1d9386 -r 5ac40ff61514 main.cpp
--- a/main.cpp Tue Sep 10 14:17:44 2019 +0000
+++ b/main.cpp Tue Jun 23 08:47:04 2020 +0000
@@ -21,9 +21,9 @@
//The code between the { curly braces }
//is the code that is repeated
myled = 1; // External LED is ON
- wait(1.0); // 1 second
+ wait_us(1000000); // 1 second
myled = 0; // LED is OFF
- wait(1.0); // External 1 second
+ wait_us(1000000); // External 1 second
}
}
