Update main.py

This commit is contained in:
Kacper 2022-03-01 14:30:22 +00:00
parent b8d21cf0e7
commit ac5f883981

View file

@ -16,6 +16,6 @@ f.close()
while True:
[X,Y,Z] = accel.readAll()
with open("output.txt","a") as f:
with open(name,"a") as f:
print("X: ",X,"\tY: ",Y,"\t Z: ",Z,"\n")
print(X,Y,Z, file=f)