Update fc_block_decode.py try .0

fc-7
Alan Johnston 10 months ago committed by GitHub
parent c24dbf1a23
commit 6f0fe482e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -25,7 +25,7 @@ Vz = 0
head_string = '<HEAD><meta http-equiv="refresh" content="5"></HEAD>\n<HTML>\nFunCube CubeSatSim Telemetry\n<p>\n<img height="256" width="320" src="image_file.jpeg"><p>'
foot_string = "</p>\n</HTML>"
telem_string = f"\nSequence number: {sequence:5.d} Image ID: {image_id:3.d} count: {image_count:2.d}<p>Vx: {Vx:5.d} mV Vy: {Vy:5.d} mV Vz: {Vz:5.d} mV"
telem_string = f"\nSequence number: {sequence:5.0d} Image ID: {image_id:3.0d} count: {image_count:2.0d}<p>Vx: {Vx:5.0d} mV Vy: {Vy:5.0d} mV Vz: {Vz:5.0d} mV"
with open("/home/pi/CubeSatSim/groundstation/public_html/index.html", "w") as html_file:
html_file.write(head_string)
html_file.write(telem_string)

Loading…
Cancel
Save

Powered by TurnKey Linux.