This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/MCU/MCU_REAL _FINAL/delay.c

9 lines
116 B
C
Raw Normal View History

2022-05-19 13:07:52 +00:00
#include "delay.h"
#include <intrins.h>
void delay(int n)
{int i, j;
for(i=n;i>0;i--)
for(j = 7; j > 0; j--);
2022-05-19 13:07:52 +00:00
}