?? main.c
字號:
#include "..\startup\44b.h"#include"..\inc\44blib.h"#include"..\inc\keyboard16.h"#include "..\startup\option.h"#include"..\inc\def.h"int Main(int argc, char **argv){unsigned int key;unsigned int tempkey=0;Uart_SendByte(0xa);//換行Uart_SendByte(0xd);//回車 for (;;){ key=GetKey(); key&=0x000f; if(key>9){ Uart_SendByte(0x31); tempkey=key-10; Uart_SendByte(tempkey|=0x0030); } else Uart_SendByte(key|0x0030); Uart_SendByte(0x2c); }return 0;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -