This commit is contained in:
2025-07-07 10:41:49 +08:00
commit 1bae677e06
88 changed files with 36686 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef _Delay_C_
#define _Delay_C_
/*********************************************************************************************************************/
void Delay_50us(unsigned int n)
{
unsigned char i;
while(n--)
{
for(i=0;i<71;i++);
}
}
void Delay_ms(unsigned int delay_nms)
{
while(delay_nms--)
{
Delay_50us(20);
}
}
/*********************************************************************************************************************/
#endif