Cynthia Wang / Mbed 2 deprecated ECE4180-FinalProject

Dependencies:   mbed-rtos mbed Servo Motor SoftPWM

Files at this revision

API Documentation at this revision

Comitter:
bzhu792
Date:
Mon Dec 05 21:17:27 2022 +0000
Parent:
11:558ac457c9aa
Commit message:
add 1 sec delay after fire

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Nov 17 23:23:23 2022 +0000
+++ b/main.cpp	Mon Dec 05 21:17:27 2022 +0000
@@ -225,6 +225,7 @@
         tx_led = 1;
         ir_device.putc('f');
         tx_led = 0;
+        wait(1.0);
     }
 }