From a61102099d74e7a5293696af70a18104e8e78975 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 07 十一月 2024 16:06:07 +0800 Subject: [PATCH] 1.22,改为3s一个周期 第一秒发lora 第二个周期开uwb,第三秒关uwb --- Src/ExternalDevices/dw_driver.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Src/ExternalDevices/dw_driver.c b/Src/ExternalDevices/dw_driver.c index b867329..bb5dfc4 100644 --- a/Src/ExternalDevices/dw_driver.c +++ b/Src/ExternalDevices/dw_driver.c @@ -24,7 +24,7 @@ //drive the RSTn pin low // GPIO_ResetBits(DW1000_RSTn_GPIO, DW1000_RSTn); -deca_sleep(500); +deca_sleep(100); //put the pin back to tri-state ... as input GPIO_InitStruct.Pin = DW1000_RSTn; GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; -- Gitblit v1.9.3