From 43dba3bc7eb9cc9d0e6632b5f7cc1bbf04fe2b67 Mon Sep 17 00:00:00 2001 From: myperworld Date: Mon, 11 Aug 2025 21:38:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E9=AB=98=E5=B0=8F=E8=BD=A6=E8=BF=90?= =?UTF-8?q?=E5=8A=A8=E9=80=9F=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Shibo-main-V4-ESPNOW/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; // 顶部左