The 8051 has two internal timer/counters. Each timer/counter has two special function registers (SFRs) dedicated to it. That should make a delay a snap to code once you are familiar with the instructions and hardware.I am programming 8051 microcotroller in assembly and I'm trying to stop the program for 10 seconds and then continue with the rest of the program. Any ideas on how to do this?
There are only two ways to do it and both will make use of a loop.The Loop is what seems to do the trick, although, is their a more efficient way to do this? (I need a example with it too, I'm very new to programming microcontrollers)
by Jeff Child
by Jake Hertz
by Aaron Carman
by Aaron Carman