📄 main.c
字号:
#include "common.h"
#include "window.h"
#include "TS12864A.h"
#include "astar.h"
#include "key.h"
#include "map.h"
unsigned int Position;
void main (void)
{
SFRPAGE = CONFIG_PAGE;
WDTCN = 0xDE; // Disable watchdog timer
WDTCN = 0xAD;
OSCILLATOR_Init (); // Initialize oscillator
PORT_Init (); // Initialize crossbar and GPIO
LCD_Init(); // 液晶初始化
CleanScreen();
show_menu_system();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -