From 77ec1b2690b5f3132bced9829270a8c1428019ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=96=E5=8F=81?= Date: Thu, 2 Jan 2025 02:29:05 +0800 Subject: [PATCH] 1 --- include/consts.example.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/consts.example.h b/include/consts.example.h index 4c50d76..66d5411 100644 --- a/include/consts.example.h +++ b/include/consts.example.h @@ -12,8 +12,8 @@ #define EEPROM_SIZE 1024 // 超声波传感器引脚 -#define US_TRIG 23 -#define US_ECHO 22 +#define US_TRIG 15 +#define US_ECHO 35 // 超声波的舵机 #define US_SERVO_PIN 4 @@ -26,7 +26,7 @@ // 是否反转电平输出 #define IR_OUTPUT_REVERSE 0 // 是否反转传感器排列方向 -#define IR_DIRECTION_REVERSE 1 +#define IR_DIRECTION_REVERSE 0 // GPIO 模式 // #define IR_PINS {34, 35, 12, 13, 15} // I2C 模式