📄 delays.c
字号:
#include <atmega128.h>
#include <ina90.h>
void Delay10TCYx(unsigned char i)
{
while(i--)
{
__no_operation();
__no_operation();
__no_operation();
__no_operation();
__no_operation();
__no_operation();
__no_operation();
__no_operation();
__no_operation();
__no_operation();
}
}
void Delay100TCYx(unsigned char i)
{
unsigned char j;
j=10;
while(j--) Delay10TCYx(i);
}
void Delay1KTCYx(unsigned char i)
{
unsigned char j;
j=10;
while(j--) Delay100TCYx(i);
}
void Delay10KTCYx(unsigned char i)
{
unsigned char j;
j=10;
while(j--) Delay1KTCYx(i);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -