Created
August 30, 2012 07:54
-
-
Save KitWallace/3523899 to your computer and use it in GitHub Desktop.
the monitor method of barometer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def monitor(self) : | |
reader = baroSmoother(self.interval_secs,self.smooth_secs) | |
for self.baro in reader : | |
self.history.add(self.baro) | |
self.updateTrend() | |
self.put() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment