We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
i'm using uVision to code my program. anybody tell me how to delay a period of time in C?
http://www.keil.com/appnotes/docs/apnt_105.asp Jon
You can simply loop for some time and take care that each turn in the loops takes roughly 12/f (where f is the crystal frequency). Or if you need accurate timing you can use the timers together with he overflow flags good luck