DigitalSignal_Lab

Dependencies:   LCD_DISCO_F746NG BSP_DISCO_F746NG Graphics

Files at this revision

API Documentation at this revision

Comitter:
ngtkien
Date:
Sat Aug 31 03:12:26 2019 +0000
Parent:
11:495f9583f23c
Child:
13:2ed610f9c922
Commit message:
change wait_ms to wait_ns

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Aug 28 17:09:53 2019 +0000
+++ b/main.cpp	Sat Aug 31 03:12:26 2019 +0000
@@ -42,7 +42,7 @@
     while (true) {
         // Blink LED and wait 0.5 seconds
         led1 = !led1;
-        wait_ms(SLEEP_TIME);
+        wait_ns(SLEEP_TIME*100000);
 
         // xrand = 10 + std::rand()%470;
         // yrand = 10 + std::rand()%262;
--- a/mbed-os.lib	Wed Aug 28 17:09:53 2019 +0000
+++ b/mbed-os.lib	Sat Aug 31 03:12:26 2019 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#1bf6b20df9d3cd5f29f001ffc6f0d0fcbbb96118
+https://github.com/ARMmbed/mbed-os/#02326c45d30c661e1d5b5667195dea194dda8da8