From 54a90113563aa45fb12cc3b7746905da5ca5d949 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 24 Jun 2021 14:11:47 -0400 Subject: [PATCH] changed from volt current to ina219.py --- main.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.h b/main.h index 0ae0ddb0..f26913ec 100644 --- a/main.h +++ b/main.h @@ -143,7 +143,8 @@ char sensor_payload[500]; int test_i2c_bus(int bus); -const char pythonCmd[] = "python3 -u /home/pi/CubeSatSim/python/voltcurrent.py "; +//const char pythonCmd[] = "python3 -u /home/pi/CubeSatSim/python/voltcurrent.py "; +const char pythonCmd[] = "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}; char src_addr[5] = "";