comparison py/sensor_ds18b20.py @ 459:c34083c078db

uploader works
author Matt Johnston <matt@ucc.asn.au>
date Thu, 03 Jan 2013 22:37:33 +0800
parents dce9f7841696
children 33ed66a7ea0b
comparison
equal deleted inserted replaced
458:94932e7051e5 459:c34083c078db
73 73
74 def sensor_names(self): 74 def sensor_names(self):
75 """ Returns a sequence of sensorname """ 75 """ Returns a sequence of sensorname """
76 slaves_path = os.path.join(self.master_dir, "w1_master_slaves") 76 slaves_path = os.path.join(self.master_dir, "w1_master_slaves")
77 names = open(slaves_path, 'r').read().split() 77 names = open(slaves_path, 'r').read().split()
78 D("returning names %s" % names)
79 return names 78 return names
80 79
81 def wort_name(self): 80 def wort_name(self):
82 return config.WORT_NAME 81 return config.WORT_NAME
83 82