wireless working
This commit is contained in:
1 parent
ee57e22b26
commit
c3958b5eec
4 files changed
+26
-49
No files matched your search
+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