Microcontroller › 8051 › CALCULATE 1 SECOND DELAY IN 8051 › with timer in 16 bit mode u
June 28, 2015 at 12:05 pm
#13017
Participant
with timer in 16 bit mode u can generate max delay of 65 ms aprox.
so u need loop to repeat the process
you set timer to count 50000 to generate delay of 50 ms
then just rotate it for 20 times in for loop so u get 20×50 = 1000 ms = 1 sec