From 817b7bbc6cc5c1a6aeeacf0a3b2d8b4362bfe64b Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期五, 08 三月 2024 10:25:45 +0800 Subject: [PATCH] V1.10 测试一标签对10基站,时间稳定,测距正常。配合标签V1.9,就是和标签发送lora间隔要超过60ms,否则标签不测距 --- Inc/main.h | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Inc/main.h b/Inc/main.h index d538123..41c78b2 100644 --- a/Inc/main.h +++ b/Inc/main.h @@ -54,6 +54,7 @@ void SetNextPollTime(u16 time); void MX_ADC_Init(void); void MX_ADC_DeInit(void); +void delay_us(uint32_t nTimer); /* USER CODE END ET */ /* Exported constants --------------------------------------------------------*/ @@ -94,7 +95,7 @@ #define RADIO_BUSY_GPIO_Port GPIOB #define INPUT_5V_Pin GPIO_PIN_11 #define INPUT_5V_GPIO_Port GPIOB -#define LED1_G_Pin GPIO_PIN_13 +#define LED1_G_Pin GPIO_PIN_12 #define LED1_G_GPIO_Port GPIOB #define LED1_R_Pin GPIO_PIN_13 #define LED1_R_GPIO_Port GPIOB @@ -142,5 +143,3 @@ #endif #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ -- Gitblit v1.9.3