ECE 4180 Lab 1 Part 1

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
abraha2d
Date:
Tue Oct 09 00:33:11 2018 +0000
Commit message:
Save point

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 afec98f6d845 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Oct 09 00:33:11 2018 +0000
@@ -0,0 +1,11 @@
+#include "mbed.h"
+
+DigitalOut myled(p22);
+DigitalIn pb(p8);
+
+int main()
+{
+    while(1) {
+        myled = !pb;
+    }
+}
diff -r 000000000000 -r afec98f6d845 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Oct 09 00:33:11 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187
\ No newline at end of file