diff --git a/Shibo-main-V4-ESPNOW/src/main.cpp b/Shibo-main-V4-ESPNOW/src/main.cpp index 0186ada..3749724 100644 --- a/Shibo-main-V4-ESPNOW/src/main.cpp +++ b/Shibo-main-V4-ESPNOW/src/main.cpp @@ -158,7 +158,7 @@ void OnDataRecv(const uint8_t *mac, const uint8_t *incomingData, int len) { // 左右旋转 int convertedJ2PotX = (remoteData.j2PotX - 127.5) * (100.0 / 127.5); // 转到 -100 到 100 // 速度 - int convertedJ2PotY = (remoteData.j2PotY - 127.5) * (100.0 / 127.5) * -1 * 1.2; // 转到 -100 到 100 y轴取反,并且放大洗漱 + int convertedJ2PotY = (remoteData.j2PotY - 127.5) * (100.0 / 127.5) * -1 * 1.3; // 转到 -100 到 100 y轴取反,并且放大洗漱 // 取反按钮值,使得默认显示 0 false,按下显示 1 true int convertedbuttonLB = !remoteData.buttonLB; // 顶部左