The program can normal counting the seconds, but if you remove this statement, the value of the time on the LCD display has been zero, but the statement and the program has nothing to do, have who can answer it for me? LED1 is PG15 (stm32f407)
CodePudding user response:
3 regular timer 1 millisecond level, LED screen response to come over?CodePudding user response:
This quite a bit, but after the main function and the time delay function, although LCD can display the count, but several count after several fixed there no shows, use a serial port to send and send a few data is not sentCodePudding user response:
You this timer is 1 ms in it again, it is not necessary to really fast, can try slowly 100 ms into oneCodePudding user response:
According to the second count (arr + 1) x (PSC + 1)=84000000,should satisfy the conditionsFor example TIM3_Int_Init (9999, 8399);