|
|
|
@ -578,7 +578,10 @@ if __name__ == "__main__":
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
command_count += 1
|
|
|
|
command_count += 1
|
|
|
|
filec = open("/home/pi/CubeSatSim/command_count.txt", "w")
|
|
|
|
filec = open("/home/pi/CubeSatSim/command_count.txt", "w")
|
|
|
|
string = filec.write(str(command_count))
|
|
|
|
command_count_string = str(command_count)
|
|
|
|
|
|
|
|
print(command_count_string)
|
|
|
|
|
|
|
|
string = filec.write(command_count_string)
|
|
|
|
|
|
|
|
filec.close()
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
if (debug_mode == 1):
|
|
|
|
if (debug_mode == 1):
|
|
|
|
print("Can't write command_count file!")
|
|
|
|
print("Can't write command_count file!")
|
|
|
|
|