📄 ledlib.h
字号:
//this is file the header for the LedLib
//Auhtor:Decell.Zhou
//Version;
#include "REG52.h"
//=================[ledShowDigit]==============
//Description:this mathod is used to set a digit to a specified bit on the led
//Author:Decelll.Zhou
//Version
//arg: digit | unsigned char | the digit you want to show | 0-9
// position | unsigned char | the position of the digit | 0-3
// dp | unsigned char | if you want to show the dp, set this argument to 1
//return; 0 | method terminated normally
// 1 | method meet critical error
//=============================================
int ledSetDigit(unsigned char digit,unsigned char position, unsigned char dp);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -