wireless working
This commit is contained in:
+2
-3
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user