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