recovered good ranging

This commit is contained in:
Yunhorn 2024-04-16 16:15:32 +08:00
parent f8169053c3
commit d04b39986e
5 changed files with 28332 additions and 27933 deletions

View File

@ -425,7 +425,7 @@ void EXTI15_10_IRQHandler(void)
} }
#endif #endif
#if 0 #if 1
/** /**
* @brief This function handles USART2 Interrupt. * @brief This function handles USART2 Interrupt.
*/ */

View File

@ -301,7 +301,7 @@ void STS_YunhornSTSEventP3_Process(void)
*/ */
void STS_YunhornSTSEventP4_Process(void) void STS_YunhornSTSEventP4_Process(void)
{ {
//STS_SENSOR_Power_ON(0); STS_SENSOR_Power_ON(0);
#ifdef LED_ONBOARD #ifdef LED_ONBOARD
LED_ON; LED_ON;
HAL_Delay(10); HAL_Delay(10);
@ -317,7 +317,7 @@ void STS_YunhornSTSEventP4_Process(void)
STS_TOF250_Range_Process(); STS_TOF250_Range_Process();
#endif #endif
//STS_SENSOR_Power_OFF(0); STS_SENSOR_Power_OFF(0);
} }

View File

@ -11,5 +11,6 @@ D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/C
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:304:6:DMA1_Channel4_IRQHandler 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:304:6:DMA1_Channel4_IRQHandler 1
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:318:6:DMA1_Channel5_IRQHandler 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:318:6:DMA1_Channel5_IRQHandler 1
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:361:6:EXTI3_IRQHandler 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:361:6:EXTI3_IRQHandler 1
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:432:6:USART2_IRQHandler 1
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:446:6:RTC_Alarm_IRQHandler 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:446:6:RTC_Alarm_IRQHandler 1
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:462:6:SUBGHZ_Radio_IRQHandler 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:462:6:SUBGHZ_Radio_IRQHandler 1

File diff suppressed because it is too large Load Diff

View File

@ -103,8 +103,8 @@ void MX_TOF_Process(void)
#endif #endif
#ifdef STS_USE_TOF_VL53L0X #ifdef STS_USE_TOF_VL53L0X
//STS_SENSOR_Power_ON(1); STS_SENSOR_Power_ON(1);
//HAL_Delay(100); HAL_Delay(100);
#if defined(TOF_1)||defined(TOF_2) #if defined(TOF_1)||defined(TOF_2)
STS_TOF_VL53L0X_Range_Process(); STS_TOF_VL53L0X_Range_Process();
#endif #endif
@ -112,7 +112,7 @@ void MX_TOF_Process(void)
STS_TOF250_Range_Process(); STS_TOF250_Range_Process();
#endif #endif
//STS_SENSOR_Power_OFF(1); STS_SENSOR_Power_OFF(1);
#endif #endif
#if defined(STS_TOF_VL53L1X_PeopleCount) && defined(STS_USE_TOF_VL53L1X) #if defined(STS_TOF_VL53L1X_PeopleCount) && defined(STS_USE_TOF_VL53L1X)