progress
This commit is contained in:
parent
f2a9562f00
commit
eef705ab62
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue