From a9b0fe1a18318d58f9d807d2270f5d818c4bf146 Mon Sep 17 00:00:00 2001 From: bmy <2583236812@qq.com> Date: Tue, 16 Apr 2024 09:39:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0IMU=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=92=8C=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libraries/zf_device/zf_device_imu660ra.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/zf_device/zf_device_imu660ra.h b/libraries/zf_device/zf_device_imu660ra.h index a81e5d2..76ec418 100644 --- a/libraries/zf_device/zf_device_imu660ra.h +++ b/libraries/zf_device/zf_device_imu660ra.h @@ -62,8 +62,8 @@ #if IMU660RA_USE_SOFT_IIC // 这两段 颜色正常的才是正确的 颜色灰的就是没有用的 //====================================================软件 IIC 驱动==================================================== #define IMU660RA_SOFT_IIC_DELAY (10) // 软件 IIC 的时钟延时周期 数值越小 IIC 通信速率越快 -#define IMU660RA_SCL_PIN (B3) // 软件 IIC SCL 引脚 连接 IMU660RA 的 SCL 引脚 -#define IMU660RA_SDA_PIN (B5) // 软件 IIC SDA 引脚 连接 IMU660RA 的 SDA 引脚 +#define IMU660RA_SCL_PIN (E5) // 软件 IIC SCL 引脚 连接 IMU660RA 的 SCL 引脚 +#define IMU660RA_SDA_PIN (E4) // 软件 IIC SDA 引脚 连接 IMU660RA 的 SDA 引脚 //====================================================软件 IIC 驱动==================================================== #else @@ -100,7 +100,7 @@ typedef enum { #define IMU660RA_TIMEOUT_COUNT (0x00FF) // IMU660RA 超时计数 //================================================定义 IMU660RA 内部地址================================================ -#define IMU660RA_DEV_ADDR (0x69) // SA0 接地:0x68 SA0 上拉:0x69 模块默认上拉 +#define IMU660RA_DEV_ADDR (0x68) // SA0 接地:0x68 SA0 上拉:0x69 模块默认上拉 #define IMU660RA_SPI_W (0x00) #define IMU660RA_SPI_R (0x80)