Send analog input trhough basic serial communication

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
gcarmonar
Date:
Thu Oct 10 13:44:33 2013 +0000
Parent:
1:89d58811e089
Commit message:
Ver1.02; ; Deleted variable not declarated

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);
     }