Use a touchscreen display to select which sensor measurement to display

Dependencies:   mbed DisplayModule24_demo_day10

Revision:
8:a7b7edb66de5
Parent:
7:b275c76de4ba
--- a/tmp.cpp	Tue Jan 17 21:08:45 2017 +0000
+++ b/tmp.cpp	Tue Jan 17 21:28:13 2017 +0000
@@ -30,6 +30,7 @@
         return temp;
 }
 
+// gets the average of n (default 5) temperature readings
 float get_avg_temp(int n){
     if (n <= 0)
         return 0;