qwerty

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
pratit911
Date:
Wed May 30 07:18:17 2018 +0000
Commit message:
sdfghjk

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 0240e30e6cb2 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed May 30 07:18:17 2018 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+AnalogIn Ain(PTB0);
+Serial pc(USBTX,USBRX);
+float ADCdata;
+
+int main()
+{
+    while(1)
+    {
+
+        ADCdata=100*Ain;
+        pc.printf("%f \n\r",ADCdata);
+        wait(0.5);
+        }
+        
+        }
\ No newline at end of file
diff -r 000000000000 -r 0240e30e6cb2 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed May 30 07:18:17 2018 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/5aab5a7997ee
\ No newline at end of file