how to wait for X amount of seconds?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
gtsphere

how to wait for X amount of seconds?

Post by gtsphere »

is there a way to reach the clock ticks in C??
Tim

Re:how to wait for X amount of seconds?

Post by Tim »

Install a clock interrupt handler (IRQ 0) and increment a variable every time you get a clock interrupt.
Post Reply