📄 kernal.c
字号:
#include <at89x52.H> // SFR definition header file
#include <stdio.h> // prototype declarations for I/O functions
#include "function.h"
#include "SystemEvent.h"
#include "math.h"
#include "UART.h"
#include "Var.h"
extern void InitRemoteCTRL(void);
sfr CHPCON = 0xBF;
sfr CHPENR = 0xF6;
extern void InitSERIALPort(void);
void main (void){
_PtrI2c=&_I2cBuf;
_WPtrI2c=_PtrI2c+0x08;
InitSERIALPort();
_FuncX=0;
while(1){
SystemEvent();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -