Microcontroller › 8051 › delay in c › You can’t predict how many
May 25, 2012 at 5:46 pm #7905
You can’t predict how many instructions will be there for your for loop, after you compile the code. Normally we assume 1us for a single loop, but it won’t help you when you long delays, like in seconds. Use timers instead.