This commit is contained in:
tillraab 2019-09-16 17:07:03 +02:00
parent 169b1a755f
commit b4f6fe794e

View File

@ -174,7 +174,7 @@ def main():
file = os.path.join(path, 'traces-grid1.raw') file = os.path.join(path, 'traces-grid1.raw')
temp_file = os.path.join(path, 'temp_file.txt') temp_file = os.path.join(path, 'temp_file.txt')
w1_bus_path = os.path.join(glob.glob('/sys/bus/w1/devices/28*')[0], 'w1-slave') w1_bus_path = '/sys/bus/w1/devices/28-00000aee438d/w1_slave'
f = open(file, 'wb') f = open(file, 'wb')
temp_f = open(temp_file, 'w') temp_f = open(temp_file, 'w')