|
|
|
|
@ -200,7 +200,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 pythonCmd[] = "python3 -u /home/pi/CubeSatSim/ina219.py ";
|
|
|
|
|
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};
|
|
|
|
|
char src_addr[5] = "";
|
|
|
|
|
|