ECE 4180 Lab 1 Part 8

Dependencies:   PinDetect mbed

Files at this revision

API Documentation at this revision

Comitter:
abraha2d
Date:
Tue Oct 09 00:35:07 2018 +0000
Commit message:
Save point

Changed in this revision

PinDetect.lib Show annotated file Show diff for this revision Revisions of this file
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/PinDetect.lib	Tue Oct 09 00:35:07 2018 +0000
@@ -0,0 +1,1 @@
+http://os.mbed.com/users/AjK/code/PinDetect/#cb3afc45028b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Oct 09 00:35:07 2018 +0000
@@ -0,0 +1,11 @@
+#include "mbed.h"
+
+PwmOut myled(LED1);
+AnalogIn pot(p20);
+
+int main()
+{
+    while(1) {
+        myled = pot;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Oct 09 00:35:07 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187
\ No newline at end of file