This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

function writing

How can I write a 1ms and a 1second delay function.

Parents
  • There have been a number of good threads discussing various ways to implement delays for various time intervals. The main factors to consider are how long you need to delay, how accurate the delay must be, and whether or not you can afford to tie up the processor during the delay.

    The search page:

    http://www.keil.com/support/search.asp

    should help you find them. Be sure to check the "Discussion Forums" box to include that in your search.

Reply
  • There have been a number of good threads discussing various ways to implement delays for various time intervals. The main factors to consider are how long you need to delay, how accurate the delay must be, and whether or not you can afford to tie up the processor during the delay.

    The search page:

    http://www.keil.com/support/search.asp

    should help you find them. Be sure to check the "Discussion Forums" box to include that in your search.

Children
No data