Skip to content

Instantly share code, notes, and snippets.

@KitWallace
Created August 30, 2012 07:54
Show Gist options
  • Save KitWallace/3523899 to your computer and use it in GitHub Desktop.
Save KitWallace/3523899 to your computer and use it in GitHub Desktop.
the monitor method of barometer
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