Example #1
0
#!/usr/bin/python
import time
import ablib
 
print "Scan for the available thermal sensors"
 
for device in ablib.w1buslist():
	print "Sensor ID = " + device
Example #2
0
from ablib import w1buslist

print "Scan for the available thermal sensors"

for device in w1buslist():
    print "Sensor ID = " + device
Example #3
0
File: temp.py Project: oriolSG/ARM
 def id(self):
         #ID THE 1WIRE DEVICE
         print "Scan for the available thermal sensors"
         #print device
         for device in a.w1buslist():   #REMEMBER THAT THE
Example #4
0
from ablib import w1buslist
 
print "Scan for the available thermal sensors"
 
for device in w1buslist():
	print "Sensor ID = " + device