Library for my home monitoring classes and serial communication protocol. It monitors temperature and movement on the mbed application board.

Dependents:   FinalProject

Revision:
1:2f5a62eb52ad
Parent:
0:3f846fc933a2
--- a/Temperature/Temperature.cpp	Sun Sep 01 23:35:18 2013 +0000
+++ b/Temperature/Temperature.cpp	Tue Sep 03 08:54:55 2013 +0000
@@ -9,7 +9,7 @@
 #include <string>
 #include <sstream>
 
-// FIXME - add timestamp to temperature samples
+// TODO - add timestamp to temperature samples
   
 Temperature::Temperature() {
 	max_temp_limit = 150.0;  // Maximum allowed value
@@ -67,7 +67,7 @@
 }
 
 bool Temperature::set_min(double min) {
-	if (min > max_temp_limit || min < min_temp_limit || min > max_temp_limit) {
+	if (min > max_temp_limit || min < min_temp_limit || min > max_temp) {
 		return false;
 	}
 	else {