Update fc_block_decode.py put open back

fc-7
Alan Johnston 10 months ago committed by GitHub
parent 19f81b9cde
commit 3c14a11e20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -135,6 +135,7 @@ if __name__ == "__main__":
telem_string = f"\nSequence number: {sequence:5d} Image ID: {image_id:3d} count: {image_count:2d}<p>" + \
f" Vx(mV): {Vx:5d} Vy(mV): {Vy:5d} Vz(mV): {Vz:5d}<p>" + \
f" Ix(mA): {Ix:5d} Iy(mA): {Iy:5d} Iz(mA): {Iz:5d}<p> Vbat(mV): {Vb:5d} Ibat(mA): {Ib:5d}" with open("/home/pi/CubeSatSim/groundstation/public_html/index.html", "w") as html_file:
open("/home/pi/CubeSatSim/groundstation/public_html/index.html", "w") as html_file:
html_file.write(head_string)
html_file.write(telem_string)
html_file.write(foot_string)

Loading…
Cancel
Save

Powered by TurnKey Linux.