add gametrak value output
This commit is contained in:
parent
b1ada895bc
commit
bdf5f8be1b
|
@ -404,14 +404,17 @@ void loop() {
|
|||
//Serial.write((uint8_t *) &value2, sizeof(value2)); //int16_t, 2 bytes
|
||||
//Serial.write((uint8_t *) &floatvalue, sizeof(floatvalue)); //float, 4 bytes
|
||||
|
||||
/*
|
||||
|
||||
Serial.write((uint8_t *) &out_steer, sizeof(out_steer)); //int16_t, 2 bytes
|
||||
Serial.write((uint8_t *) &out_speed, sizeof(out_speed)); //int16_t, 2 bytes
|
||||
Serial.write((uint8_t *) &vbat, sizeof(vbat)); //float, 4 bytes
|
||||
Serial.write((uint8_t *) &ibat, sizeof(ibat)); //float, 4 bytes
|
||||
//Serial.write((uint8_t *) &ibat, sizeof(ibat)); //float, 4 bytes
|
||||
float yaw_float=yaw;
|
||||
Serial.write((uint8_t *) &yaw_float, sizeof(yaw_float)); //float, 4 bytes
|
||||
*/
|
||||
Serial.write((uint8_t *) >_length, sizeof(gt_length)); //uint16_t, 2 bytes
|
||||
Serial.write((uint8_t *) >_horizontal, sizeof(gt_horizontal)); //int8_t, 1 byte
|
||||
Serial.write((uint8_t *) >_vertical, sizeof(gt_vertical)); //int8_t, 1 byte
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue