CanSat-C 2021 / Mbed 2 deprecated cut

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
gakutoagata
Date:
Mon Oct 25 07:53:43 2021 +0000
Commit message:
cut

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 1b30a14d45f5 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Oct 25 07:53:43 2021 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+DigitalOut cut(D13);
+Serial pc(SERIAL_TX, SERIAL_RX);
+int main()
+{
+    wait(20);
+    pc.printf("START\n");
+    
+        cut=1;
+        wait(30);
+        cut=0;
+        
+}  
\ No newline at end of file
diff -r 000000000000 -r 1b30a14d45f5 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Oct 25 07:53:43 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file