|
|
|
@ -100,15 +100,19 @@ void setup() {
|
|
|
|
// configure STEM Payload sensors
|
|
|
|
// configure STEM Payload sensors
|
|
|
|
start_payload(); // above code not working, so forcing it
|
|
|
|
start_payload(); // above code not working, so forcing it
|
|
|
|
|
|
|
|
|
|
|
|
read_reset_count();
|
|
|
|
read_reset_count();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
sim_mode = FALSE;
|
|
|
|
sim_mode = FALSE;
|
|
|
|
if (sim_mode)
|
|
|
|
if (sim_mode)
|
|
|
|
config_simulated_telem();
|
|
|
|
config_simulated_telem();
|
|
|
|
else
|
|
|
|
else
|
|
|
|
; // configure ina219s
|
|
|
|
; // configure ina219s
|
|
|
|
|
|
|
|
*/
|
|
|
|
start_ina219();
|
|
|
|
start_ina219();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (i2c_bus3 == false) {
|
|
|
|
|
|
|
|
configure_simulated_telem();
|
|
|
|
|
|
|
|
|
|
|
|
config_telem();
|
|
|
|
config_telem();
|
|
|
|
|
|
|
|
|
|
|
|
|