From bf236e83ebac73ddc076ddee4c541da9d469b95e Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 11 七月 2025 18:15:13 +0800 Subject: [PATCH] 解决角度抖动距离远抖动过大问题,加入pa开启代码。 --- pin_config.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/pin_config.c b/pin_config.c index 8f9e200..d024b21 100644 --- a/pin_config.c +++ b/pin_config.c @@ -49,7 +49,8 @@ io_pin_mux_set(IO_PIN_9, IO_FUNC6); io_pin_mux_set(IO_PIN_10, IO_FUNC6); - + +gpio_pin_set_dir(IO_PIN_7,GPIO_DIR_OUT,1);//打开fem // io_pull_set(IO_PIN_9 , IO_PULL_DOWN, IO_PULL_UP_LEVEL3); // io_pull_set(IO_PIN_10 , IO_PULL_DOWN, IO_PULL_UP_LEVEL3); //io_pin_mux_set(IO_PIN_6, IO_FUNC4); -- Gitblit v1.9.3