From e31dadca68765f578f80fe0986b3a7c918f6f22f Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Wed, 16 Nov 2022 09:38:36 -0500 Subject: [PATCH] cam.bin --- cubesatsim/cubesatsim.ino | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 5a056397..a73f179f 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -238,10 +238,11 @@ void loop() { // LittleFS.remove("/cam.bin"); show_dir(); char output_file2[] = "/cam2.bin"; - jpeg_decode(image_file, output_file2, true); // debug_mode); + char output_file[] = "/cam.bin"; + jpeg_decode(image_file, output_file, true); // debug_mode); show_dir(); // char telem_display[] = " BATT: STATUS: TEMP: "; -// char output_file[] = "/cam.bin"; + digitalWrite(PTT_PIN, HIGH); // shouldn't need this but // rotate_image(output_file2, output_file, telem_display); // show_dir();