vcvvc

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
keerthivasan
Date:
Thu Jul 16 08:36:31 2015 +0000
Commit message:
pwm

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 6be3100746b3 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Jul 16 08:36:31 2015 +0000
@@ -0,0 +1,19 @@
+#include "mbed.h"
+
+DigitalOut a(LED1);
+DigitalOut b(LED2);
+DigitalOut c(LED3);
+DigitalOut d(LED4);
+AnalogIn x(p20);
+
+int main() {
+    while(1){
+    a=x;
+    wait(2);    
+ b=x;
+    wait(2);    
+ c=x;
+    wait(2);    
+ d=x;
+    wait(2);    
+}}
\ No newline at end of file
diff -r 000000000000 -r 6be3100746b3 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Jul 16 08:36:31 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/da0ca467f8b5
\ No newline at end of file