Update main.c test Sensor 1-3

beta-ft2
Alan Johnston 1 year ago committed by GitHub
parent c22763ff31
commit 16904169fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1530,6 +1530,10 @@ void get_tlm_fox() {
encodeA(b, 48 + head_offset, (int)(sensor[DTEMP] * 10 + 0.5) + 2048);
// encodeB(b, 49 + head_offset, (int)(sensor[XS1] * 10 + 0.5) + 2048);
sensor[XS2] = 100.0;
sensor[XS2] = 1000;
sensor[XS3] = 500;
encodeB(b, 49 + head_offset, (int)(sensor[XS1]));
encodeA(b, 0 + head_offset, (int)(sensor[XS2]));
encodeB(b, 1 + head_offset, (int)(sensor[XS3]));

Loading…
Cancel
Save

Powered by TurnKey Linux.