User Activity

 Hello,I have a small problem when using a custom delay function as follows : void delay_us(uint32_t delayus) { uint32_t start_count = __HAL_TIM_GET_COUNTER(&htim2); while ((__HAL_TIM_GET_COUNTER(&htim2) - start_count) < delayus) { } }  The attac...