From b6f3537debc4641a52af3dba50763d73b46d2a92 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 28 Feb 2026 13:12:01 -0500 Subject: [PATCH] Update main.c print b --- main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.c b/main.c index e9f076ba..69f40426 100644 --- a/main.c +++ b/main.c @@ -1569,6 +1569,14 @@ void get_tlm_fox() { { FILE *telem_binary = fopen("/home/pi/CubeSatSim/tlm.bin", "wb"); if (telem_binary != NULL) { + + int count; + printf("b is: \n"); + for (count = 0; count < 70; count++) { + printf("%02X", b[count]); + } + printf("\n"); + unsigned int now = (unsigned int)time(0); fwrite(&now, sizeof(now), 1, telem_binary); int bytes_written = fwrite(b, sizeof(char), 70, telem_binary);