From 0fc7ff436e0e10342bc260d497444125860b2541 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 19 Apr 2025 19:40:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80GPIO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit N938: #define CMD_SET_3V3_PWR_EN 360 // 改为132 云台: #define CMD_SET_485_ENABLE 512 // 改成131 #define CMD_SET_3V3_PWR_EN 516 // 改成 132 固件从20250419的版本开始 --- app/src/main/cpp/GPIOControl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/cpp/GPIOControl.h b/app/src/main/cpp/GPIOControl.h index 46098b0d..e40eb7a9 100644 --- a/app/src/main/cpp/GPIOControl.h +++ b/app/src/main/cpp/GPIOControl.h @@ -77,8 +77,8 @@ #define CMD_SET_SPI_BITS_PER_WORD 0 // TO BE ADDED #define CMD_SET_SPI_MAXSPEEDHZ 0 // TO BE ADDED -#define CMD_SET_485_ENABLE 512 -#define CMD_SET_3V3_PWR_EN 516 +#define CMD_SET_485_ENABLE 131 +#define CMD_SET_3V3_PWR_EN 132 // #define CMD_SET_5V_PWR_ENABLE 517 #define CMD_SET_SENSOR_ENABLE 504 #define CMD_SET_SENSOR_PWR_ENABLE 505 @@ -122,7 +122,7 @@ #define CMD_SET_SYSTEM_RESET 202 #define CMD_SET_485_EN1 302 -#define CMD_SET_3V3_PWR_EN 360 +#define CMD_SET_3V3_PWR_EN 132 #define CMD_SET_UART0_EN 361 #define CMD_SET_485_EN0 301 #define CMD_SET_NETWORK_POWER_EN 362