Sp2019_EW202_3321_1 / Mbed 2 deprecated drive_straight

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
m215910
Date:
Wed Apr 17 14:11:03 2019 +0000
Commit message:
drives straight

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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Apr 17 14:11:03 2019 +0000
@@ -0,0 +1,13 @@
+//Satre, Gagnon, 
+#include "mbed.h"
+
+DigitalOut myled(LED1);
+
+int main() {
+    while(1) {
+        myled = 1;
+        wait(0.2);
+        myled = 0;
+        wait(0.2);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Apr 17 14:11:03 2019 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file