|
|
|
|
@ -73,12 +73,12 @@ void setup() {
|
|
|
|
|
else
|
|
|
|
|
; // configure ina219s
|
|
|
|
|
|
|
|
|
|
// start_ina219();
|
|
|
|
|
start_ina219();
|
|
|
|
|
|
|
|
|
|
config_telem();
|
|
|
|
|
|
|
|
|
|
// configure STEM Payload sensors
|
|
|
|
|
// start_payload();
|
|
|
|
|
start_payload();
|
|
|
|
|
|
|
|
|
|
// program Transceiver board
|
|
|
|
|
config_radio();
|
|
|
|
|
@ -101,9 +101,10 @@ void loop() {
|
|
|
|
|
generate_simulated_telem();
|
|
|
|
|
else
|
|
|
|
|
// query INA219 sensors and Payload sensors
|
|
|
|
|
; // read_ina219();
|
|
|
|
|
// ; //
|
|
|
|
|
read_ina219();
|
|
|
|
|
|
|
|
|
|
// read_payload();
|
|
|
|
|
read_payload();
|
|
|
|
|
|
|
|
|
|
// encode as digits (APRS or CW mode) or binary (DUV FSK)
|
|
|
|
|
if ((mode == BPSK) || (mode == FSK))
|
|
|
|
|
|