Send analog input trhough basic serial communication

Dependencies:   mbed

Revision:
2:70f66c8cbdff
Parent:
1:89d58811e089
diff -r 89d58811e089 -r 70f66c8cbdff main.cpp
--- a/main.cpp	Thu Oct 10 13:27:04 2013 +0000
+++ b/main.cpp	Thu Oct 10 13:44:33 2013 +0000
@@ -28,7 +28,6 @@
 int main(){
     while(1){
         potval = pot;
-        potval2 = potval*2;
         pc.printf("El valor del puerto es: %f volts\n", potval);
         wait(1);
     }