F^3RC group3_share / Mbed 2 deprecated sensor2

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
eisuke
Date:
Sat Sep 10 08:16:24 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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Sep 10 08:16:24 2016 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+
+DigitalOut a1(PB_6);
+
+
+AnalogIn b1(PC_3);
+
+int main() {
+    a1=1;
+    
+    while(1){    
+    double data1=b1;
+
+        printf("b1=%f\r\n",data1);
+        wait(0.5);
+        }
+   }
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Sep 10 08:16:24 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/2241e3a39974
\ No newline at end of file