From 8a2b7d1e198ec3e60fc13dcfec64bd0ccbe3e6c0 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 11 Mar 2026 15:10:16 -0400 Subject: [PATCH] Update main.h add python venv --- main.h | 1 + 1 file changed, 1 insertion(+) diff --git a/main.h b/main.h index 082f230c..08a9ad5e 100644 --- a/main.h +++ b/main.h @@ -202,6 +202,7 @@ char sensor_string[SENSOR_FIELDS][32]; int test_i2c_bus(int bus); //const char pythonCmd[] = "python3 -u /home/pi/CubeSatSim/python/voltcurrent.py "; +const char pythonVenv[] = "source /home/pi/venv/bin/activate"; const char pythonCmd[] = "/home/pi/venv/bin/python3 -u /home/pi/CubeSatSim/ina219.py "; char pythonStr[100], pythonConfigStr[100], busStr[10]; int map[8] = {0, 1, 2, 3, 4, 5, 6, 7};