2019-07-18 17:31发布
屠鸡勇士李运好 发表于 2019-5-14 19:07 这样做: Tim4_Init(void) { GPIO_InitTypeDef GPIO_InitStructure; TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;
最多设置5个标签!
中断太频繁了,对你的系统压力太大~
你用脉冲数统计法吧,这样得话你只需要格一段时间去轮询脉冲数就行了,记住溢出的时候也要处理一下(复位一下继续统计)
一周热门 更多>