📄 jbdisp.h
字号:
#include <jjf24b.h>
bool fComeOnState;
byte bdata bDispBuf _at_ 0x20 ;
byte xdata aLargeBuf[20];
byte xdata aSmallBuf[5];
extern byte idata aNumBuf[16];
extern byte bStatusWord;
extern void DelaySecond(byte);
sbit bDispBuf0=bDispBuf^0;
sbit bDispBuf1=bDispBuf^1;
sbit bDispBuf2=bDispBuf^2;
sbit bDispBuf3=bDispBuf^3;
sbit bDispBuf4=bDispBuf^4;
sbit bDispBuf5=bDispBuf^5;
sbit bDispBuf6=bDispBuf^6;
sbit bDispBuf7=bDispBuf^7;
void I2CWrite(byte);
void DispOut(void);
void ConvetCode(void);
void DispClr(void);
void DispInit(void);
void DispNum(bool);
void DispCharge(ulint,byte);
void DispSymbol(byte);
void DispTime(uint);
void SDelay(void);
void DispErrorCode(void);
void DispCmd(byte);
void DispOK(byte);
byte code aLCDSegment[18]={ 0xD7,0x06,0xE3,0xA7, //0,1,2,3
0x36,0xB5,0xF5,0x07, //4,5,6,7
0xF7,0xB7,0xc0,0x84, //8,9,*,#
0xE6,0x20,0xF1,0x71, //c,d,e,f
0x80,0x71};
/*
byte code aLCDSegment[18]={ 0xD7,0x06,0xE3,0xA7, //0,1,2,3
0x36,0xB5,0xF5,0x07, //4,5,6,7
0xF7,0xB7,0x20,0xE4, //8,9,-,o
0xE6,0xE0,0xF1,0x71, //
0x80,0x71};
*/
extern byte pReadNumber;
extern bool fWorkMode;
extern byte idata bErrorCode;
extern byte cbDelay5MS;
extern bool fDelay5MS;
extern void Speaker(byte);
extern void Page(byte);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -