This commit is contained in:
Marcus 2023-08-07 01:08:03 +02:00
parent f2a9562f00
commit eef705ab62

View file

@ -16,7 +16,7 @@ while 1:
# ser.readline()
Data = ser.readline().decode('ascii')
print(Data)
outFile = open("arduino-fridge-powercontrol.json", "a")
outFile = open("arduino-fridge-powercontrol.json", "w")
outFile.write(Data)
outFile.close