abc

Dependencies:   mbed pixy pixy_test

Fork of aUtO_volume_v2 by ese519

Files at this revision

API Documentation at this revision

Comitter:
jfields
Date:
Thu Dec 10 02:42:30 2015 +0000
Parent:
4:fe091424b406
Commit message:
abc

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r fe091424b406 -r 06fa76d9d7bd main.cpp
--- a/main.cpp	Thu Dec 10 02:41:42 2015 +0000
+++ b/main.cpp	Thu Dec 10 02:42:30 2015 +0000
@@ -79,7 +79,7 @@
         float result_level = -0.2642*average_y + 38.453;
         
         // to pc
-        pc.printf("y = %d, num_readings = %d, average = %.2f, mL = %.2f\r\n", y, num_readings, average_y, result);
+        pc.printf("y = %d, num_readings = %d, average = %.2f, mL = %.2f, rate = %.2f\r\n", y, num_readings, average_y, result_level, result_hourly);
         pc.printf("%.2f %.2f\r\n", result_level, result_hourly);
         
         // to bluetooth