view web/test.py @ 36:a670a67ba489

- decrease measurement interval, measure at start - fix integer sizes or format strings
author Matt Johnston <matt@ucc.asn.au>
date Sat, 16 Jun 2012 09:07:38 +0800
parents 048143905092
children ca08442635ca
line wrap: on
line source

#!/usr/bin/env python
import log
import time

log.sensor_update("test1", [22,22,22.1,22.4,22.5], time.time() - 10, 300)