📄 main.bak
字号:
#include "pic.h"
#include "myfuncs.h"
#include "keyboard.h"
#include "Segment74.h"
__CONFIG (XT & LVPDIS & WDTDIS);
main()
{
int i=0,k=9,ScrNum=0;
delay(100);
while(1);
/*
SEG_FONT_PORT_DIR=0x00;
SEG_FONT_PORT=0x00;
SEG_BITSEL_PORT_DIR=0xF0; // low 4 bits is selecting bit
SEG_BITSEL_PORT=0x0; // deselect all 4 bits
while(1)
{
i=scankeypad();
if(i!=0)
{
ScrNum=ScrNum*10+i;
}
Show4b(ScrNum);
}
*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -