How do i set up a while loop for a period of time? like one second? thnks
You program a hw timer to count the time for you. Then you either wait until the timer generates an interrupt, or you check the count registers of the timer.
View all questions in Keil forum