📄 main.c
字号:
#include "main.h"
#include <pic.h> //processor specific variable definitions
#include"main.h"
__CONFIG (XT & WDTDIS & PWRTEN & BORDIS &LVPDIS & DUNPROT & WRTEN & DEBUGEN &UNPROTECT);//Debugger Config
//__CONFIG (XT & WDTEN & PWRTEN & BORDEN &LVPDIS & DPROT & WRTEN & DEBUGDIS & PROTECT);//Programmer Config
void system_init(void)
{unsigned int i;
inti_io();
for(i=0;i<5000;i++){;}
init_timer();
}
void main(void)
{
system_init();
while(1){
CLRWDT();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -