From 6d6395a5b37acf5645a094a84bea2af18ddc1c27 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 22 Aug 2022 06:55:58 -0400 Subject: [PATCH] force 3.3V high --- cubesatsim/cubesatsim.ino | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 8bf750bf..86503778 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -19,7 +19,7 @@ // based on the Raspberry Pi Code #define PICO_0V1 // define for Pico v0.1 hardware - +3 #include "cubesatsim.h" #include "DumbTXSWS.h" #include @@ -107,7 +107,11 @@ void setup() { } } */ -// configure STEM Payload sensors +// configure STEM Payload sensors + + pinMode(PI_3V3_PIN, OUTPUT); + digitalWrite(PI_3V3_PIN, HIGH); + start_payload(); // above code not working, so forcing it read_reset_count();