Mercurial > templog
diff py/tempserver.py @ 155:d03157c7ad60
rough touch sensor
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 21 Dec 2012 23:30:16 +0800 |
parents | d686b111dab4 |
children | 6d799bee3508 |
line wrap: on
line diff
--- a/py/tempserver.py Thu Dec 20 22:26:33 2012 +0800 +++ b/py/tempserver.py Fri Dec 21 23:30:16 2012 +0800 @@ -72,6 +72,7 @@ # are float degrees def add_reading(self, reading): """ adds a reading at the current time """ + D("add_reading(%s)" % str(reading)) self.readings.append( (reading, self.now())) self.current = (reading.get(self.wort_name, None), reading.get(self.fridge_name, None))