print battery voltage for debugging

pacsat-v2.2-tlm2
Alan Johnston 4 weeks ago committed by GitHub
parent 67d4b97fde
commit 83ebcba750
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1342,6 +1342,7 @@ void get_tlm_fox() {
// encodeA(b, 0 + head_offset, batt_a_v); // replaced by XS2 and XS3 below
// encodeB(b, 1 + head_offset, batt_b_v);
encodeA(b, 3 + head_offset, batt_c_v);
printf("batt_c_v: %d \n", batt_c_v);
encodeB(b, 4 + head_offset, (int)(sensor[ACCEL_X] * 100 + 0.5) + 2048); // Xaccel
encodeA(b, 6 + head_offset, (int)(sensor[ACCEL_Y] * 100 + 0.5) + 2048); // Yaccel

Loading…
Cancel
Save

Powered by TurnKey Linux.