- DA 简单的DA的转换程序
- 3Ddragging 3D坐标点选
- 32-ZHI-1602 stm32的lcd1602显示
- mimo in this programe a highly scattered enviroment is considered. The Capacity of a MIMO channel with nt transmit antenna and nr recieve antenna is analyzed. The power in parallel channel (after decomposition) is distributed as water
- pangjao_V6.3 合成孔径雷达(SAR)目标成像仿真
- myNM_LS numerical method least square method source code
文件名称:wenduceliang
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.23kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本程序为美信公司单线式温度传感器DS18B20的温度读取和显示,
DS18B20采用外部供电方式,数据线接到单片机的P2.7口,一只
接入方式,不读取ROM直接跳过,温度数据将小数部分处理掉,
只要整数部分。显示器使用的是接在P0口的8段,4位共阴数码管
因专用板所以码值与一般常规不一样.温度传感器默认的12bits
的格式,并在数据上做了处理,将小数部分和负温度抛弃了.
增加了温度报警功能,可以设置最大值和最小值.
-This program is Maxim temperature sensor DS18B20 single temperature reading and display, DS18B20 using an external power supply, data cable to the MCU P2.7 port, an access way, do not skip reading ROM, fractional part of the temperature data will be disposed of, as long as the integer part. Display is connected using the P0 port 8, four common cathode tube because of dedicated board so the digital code value and general practices are no different. Temperature sensor default 12bits format, and made a deal with the data, the fractional part and negative temperature abandoned. an increase of temperature alarm function, you can set maximum and minimum values.
DS18B20采用外部供电方式,数据线接到单片机的P2.7口,一只
接入方式,不读取ROM直接跳过,温度数据将小数部分处理掉,
只要整数部分。显示器使用的是接在P0口的8段,4位共阴数码管
因专用板所以码值与一般常规不一样.温度传感器默认的12bits
的格式,并在数据上做了处理,将小数部分和负温度抛弃了.
增加了温度报警功能,可以设置最大值和最小值.
-This program is Maxim temperature sensor DS18B20 single temperature reading and display, DS18B20 using an external power supply, data cable to the MCU P2.7 port, an access way, do not skip reading ROM, fractional part of the temperature data will be disposed of, as long as the integer part. Display is connected using the P0 port 8, four common cathode tube because of dedicated board so the digital code value and general practices are no different. Temperature sensor default 12bits format, and made a deal with the data, the fractional part and negative temperature abandoned. an increase of temperature alarm function, you can set maximum and minimum values.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
wenduceliang.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。