文件名称:ds18b20
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 21kb
- 下载次数:
- 0次
- 提 供 者:
- 段**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
3、《ds1302a》实验 说明:本程序通过串口通信(借助串口调试等程序),让单片机读写DS1302,结果返回到PC的串口调试接收区。 1)下载程序 2)打开串口调试助手 3)通过串口调试助手向ELITE-III发送"5501aa"(注:十六进制,55为设定的字串头,01为设定的1302命令,aa为设定的结束字串尾。)启动DS1302工作,成功则返回55,失败则返回00 4)通过串口调试助手向ELITE-III发送"5502aa"(注:十六进制,55为设定的字串头,02为读取1302命令,aa为设定的结束字串尾。)ELITE-III返回时钟信息(包含秒,分,时,星期,月,年)-3, ds1302a Experimental Descr iption: This procedure, through serial communications (through procedures such as serial debugging), so that read and write single-chip DS1302, the results return to the PC serial port debug reception area. 1) Download 2) Open the serial port debugging assistant 3) through the serial debug assistant to the ELITE-III Send 5501aa (Note: hex, 55 for the set the first string, 01 for 1302 set by the command , aa string to set the end of tail.) DS1302 start work, the success of the return of 55, failing which, he would return to 00 4) through the serial debug assistant to the ELITE-III Send 5502aa (Note: hex, 55 for string the first set, 02 to read the 1302 order, aa string to set the end of tail.) ELITE-III to return to the clock information (including seconds, minutes, hours, weeks, months, years)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ds18b20
.......\ds18b20
.......\ds18b20.c
.......\ds18b20.hex
.......\ds18b20.lnp
.......\ds18b20.LST
.......\ds18b20.M51
.......\ds18b20.OBJ
.......\ds18b20.Opt
.......\ds18b20.plg
.......\ds18b20.Uv2
.......\ds18b20c.LST
.......\STARTUP.A51
.......\STARTUP.LST
.......\STARTUP.OBJ
.......\ds18b20
.......\ds18b20.c
.......\ds18b20.hex
.......\ds18b20.lnp
.......\ds18b20.LST
.......\ds18b20.M51
.......\ds18b20.OBJ
.......\ds18b20.Opt
.......\ds18b20.plg
.......\ds18b20.Uv2
.......\ds18b20c.LST
.......\STARTUP.A51
.......\STARTUP.LST
.......\STARTUP.OBJ