wireless working

This commit is contained in:
2019-05-26 22:58:04 +02:00
parent ee57e22b26
commit c3958b5eec
4 changed files with 26 additions and 49 deletions
+2 -3
View File
@@ -47,12 +47,11 @@ void loop() {
// Serial.print(" / AngZ = ");
// Serial.println(mpu.GetAngZ());
joystickData = JoystickGet(true);
joystickData = JoystickGet(false);
data = GetSerialData(data, false);
// data.servoPositions[0] = joystickData.value[0];
data.remotePasstroughControl = data.remotePasstroughControl + 1;
data.servoPositions[0] = joystickData.value[0];
data = NrfSendData(data, true);