DigitalSignal_Lab

Dependencies:   LCD_DISCO_F746NG BSP_DISCO_F746NG Graphics

Files at this revision

API Documentation at this revision

Comitter:
ngtkien
Date:
Wed Aug 28 17:06:13 2019 +0000
Parent:
9:9f5fe5cf9a9a
Child:
11:495f9583f23c
Commit message:
Add new lib

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Aug 28 17:02:37 2019 +0000
+++ b/main.cpp	Wed Aug 28 17:06:13 2019 +0000
@@ -42,7 +42,7 @@
     while (true) {
         // Blink LED and wait 0.5 seconds
         led1 = !led1;
-        thread_sleep_for(SLEEP_TIME);
+        wait_ms(SLEEP_TIME);
 
         // xrand = 10 + std::rand()%470;
         // yrand = 10 + std::rand()%262;