ledlib.h
来自「一个数字温度计源代码 MCU是AT89S52 温度传感器是DS18B20 」· C头文件 代码 · 共 18 行
H
18 行
//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 + =
减小字号Ctrl + -
显示快捷键?