Created
August 14, 2016 04:31
-
-
Save hocarm/7923d6a2a674b35a190b78fa524a792e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* (5) */ | |
static __IO uint32_t TimingDelay; | |
void Delay(uint32_t nTime){ | |
TimingDelay = nTime; | |
while(TimingDelay != 0); | |
} | |
void SysTick_Handler(void){ | |
if (TimingDelay != 0x00) | |
TimingDelay --; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment