?? generic.c
字號(hào):
#include <macros.h>
//******************************************************************
//* Delay millisecond Function
//*
//* Clock = 12Mhz
//******************************************************************
void delay_ms(int ms)
{
int i,j;
for (j=0;j<ms;j++)
{
for (i=0;i<2250;i++);
WDR();
}
}
//******************************************************************
//* Delay microsecond Function
//*
//* Clock = 12Mhz
//******************************************************************
void delay_us(unsigned int us)
{
int j;
unsigned char i;
for (j=0;j<us;j++)
{
WDR();
WDR();
WDR();
WDR();
WDR();
WDR();
WDR();
WDR();
WDR();
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -