From 8f4470d9e8ee237b505d50d13019ca0ccade77ea Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 21 Aug 2022 22:13:22 -0400 Subject: [PATCH] prints --- cubesatsim/cubesatsim.ino | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 97ee26ef..12eb63e2 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -2806,7 +2806,9 @@ void led_set(int ledPin, bool state) } void start_ina219() { -//#define PI_3V3_PIN 9 // for v0.1 hardware +//#define PI_3V3_PIN 9 // for v0.1 hardware + Serial.println("Starting INA219"); + Serial.println(PI_3V3_PIN); ina219_started = true; // check if Pi is present by 3.3V voltage pinMode(PI_3V3_PIN, INPUT); @@ -3295,8 +3297,8 @@ void config_gpio() { // Serial.println(digitalRead(SQUELCH)); - Serial.print("Pi 3.3V: "); - Serial.println(digitalRead(PI_3V3_PIN)); +// Serial.print("Pi 3.3V: "); +// Serial.println(digitalRead(PI_3V3_PIN)); // set anlog inputs and read Serial.print("Diode voltage (temperature): ");