Mercurial > templog
view py/sensor_ds18b20.py @ 141:4755e6f9a5b8
python raspberry pi rewrite
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 19 Nov 2012 22:46:34 +0800 |
parents | |
children | 482d7852b511 |
line wrap: on
line source
#!/usr/bin/env python2.7 class DS18B20s(object): def __init__(self): # query the bus pass def get_sensors(self): """ Returns a sequence of sensorname """ pass def read(self): """ Returns a map of sensorname->temperature """ pass def wort_name(self): pass def fridge_name(self): pass