vcvvc

Dependencies:   mbed

Revision:
0:6be3100746b3
--- /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