Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
ladner
Date:
Mon Oct 24 14:09:21 2016 +0000
Commit message:
;

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 d8ff0600ea66 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Oct 24 14:09:21 2016 +0000
@@ -0,0 +1,21 @@
+#include "mbed.h"
+
+BusOut myled(LED1,LED2,LED3,LED4);
+BusIn myline(p18,p16,p19,p17);
+AnalogIn test(p18);
+Serial port(P0_19,P0_18);
+
+int main() 
+{
+    port.baud(76800);
+    port.format(8, Serial::None, 1);
+    float conversion = test;
+    while(1) 
+    {
+        conversion = test;
+        port.printf("Data:%f\r\n",conversion);
+        myled=myline;
+        wait(1);
+        
+    }
+}
diff -r 000000000000 -r d8ff0600ea66 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Oct 24 14:09:21 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/dbbf35b96557
\ No newline at end of file