⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ledlib.h

📁 一个数字温度计源代码 MCU是AT89S52 温度传感器是DS18B20 温度测量范围-30 - 100 精度0.5度
💻 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 + -