文件名称:STC12C5A60S2_DS1302_Test
介绍说明--下载内容来自于网络,使用问题请自行百度
DS1302外部时钟芯片单字节读写测试程序
1、程序说明:
该例程演示了外部时钟芯片DS1302测试程序,单片机端口
通过SPI协议与DS1302通信,单片机以单字节方式读写DS1302.
2、实验操作
将拨码开关S10的SMG端拨到ON端, 表示该端接通。
同时把拨码开关的其他端置为断开状态,即不拨到ON端。
否则将影响到实验效果。
该程序下载到开发板运行后
数码管即显示时间,格式为:小时-分钟-秒。
因为有后备电池,再板子断电情况下,可保持时间值
并且可继续更新时间值。
-DS1302 external clock chip single byte read and write test procedures
1, descr iption of the procedures:
This routine demonstrates the external clock chip DS1302 port test program, microcontroller
Through the SPI protocol and DS1302 communication, DS1302. microcontroller to read and write to a single byte mode
2, experimental operation
The dial switch SMG S10 end of the ON to the side, indicating that the end is connected.
At the same time the other end of the dial switch is disconnected, that is, no dial to the ON side.
Otherwise, it will affect the experimental results.
The program is downloaded to the development board running
Digital tube display time format: hour minute second.
Because there is a back-up battery, and then board the power case, can keep the value of time
And can continue to update the value of time.
1、程序说明:
该例程演示了外部时钟芯片DS1302测试程序,单片机端口
通过SPI协议与DS1302通信,单片机以单字节方式读写DS1302.
2、实验操作
将拨码开关S10的SMG端拨到ON端, 表示该端接通。
同时把拨码开关的其他端置为断开状态,即不拨到ON端。
否则将影响到实验效果。
该程序下载到开发板运行后
数码管即显示时间,格式为:小时-分钟-秒。
因为有后备电池,再板子断电情况下,可保持时间值
并且可继续更新时间值。
-DS1302 external clock chip single byte read and write test procedures
1, descr iption of the procedures:
This routine demonstrates the external clock chip DS1302 port test program, microcontroller
Through the SPI protocol and DS1302 communication, DS1302. microcontroller to read and write to a single byte mode
2, experimental operation
The dial switch SMG S10 end of the ON to the side, indicating that the end is connected.
At the same time the other end of the dial switch is disconnected, that is, no dial to the ON side.
Otherwise, it will affect the experimental results.
The program is downloaded to the development board running
Digital tube display time format: hour minute second.
Because there is a back-up battery, and then board the power case, can keep the value of time
And can continue to update the value of time.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
8、DS1302外部SPI时钟单字节实验/Application/Doc/readme.txt
8、DS1302外部SPI时钟单字节实验/Application/Header/ds1302.h
8、DS1302外部SPI时钟单字节实验/Application/Header/STC12C5A60S2.H
8、DS1302外部SPI时钟单字节实验/Application/Source/ds1302.c
8、DS1302外部SPI时钟单字节实验/Application/Source/main.c
8、DS1302外部SPI时钟单字节实验/Application/Startup/STARTUP.A51
8、DS1302外部SPI时钟单字节实验/DS1302_Test.plg
8、DS1302外部SPI时钟单字节实验/DS1302_Test.uvgui.Administrator
8、DS1302外部SPI时钟单字节实验/DS1302_Test.uvopt
8、DS1302外部SPI时钟单字节实验/DS1302_Test.uvproj
8、DS1302外部SPI时钟单字节实验/DS1302_Test_uvopt.bak
8、DS1302外部SPI时钟单字节实验/DS1302_Test_uvproj.bak
8、DS1302外部SPI时钟单字节实验/Lis/ds1302.lst
8、DS1302外部SPI时钟单字节实验/Lis/DS1302_Test.m51
8、DS1302外部SPI时钟单字节实验/Lis/main.lst
8、DS1302外部SPI时钟单字节实验/Lis/STARTUP.lst
8、DS1302外部SPI时钟单字节实验/Obj/ds1302.obj
8、DS1302外部SPI时钟单字节实验/Obj/DS1302_Test
8、DS1302外部SPI时钟单字节实验/Obj/DS1302_Test.hex
8、DS1302外部SPI时钟单字节实验/Obj/DS1302_Test.lnp
8、DS1302外部SPI时钟单字节实验/Obj/DS1302_Test.plg
8、DS1302外部SPI时钟单字节实验/Obj/main.obj
8、DS1302外部SPI时钟单字节实验/Obj/STARTUP.obj
8、DS1302外部SPI时钟单字节实验/Application/Doc
8、DS1302外部SPI时钟单字节实验/Application/Header
8、DS1302外部SPI时钟单字节实验/Application/Source
8、DS1302外部SPI时钟单字节实验/Application/Startup
8、DS1302外部SPI时钟单字节实验/Application
8、DS1302外部SPI时钟单字节实验/Lis
8、DS1302外部SPI时钟单字节实验/Obj
8、DS1302外部SPI时钟单字节实验
8、DS1302外部SPI时钟单字节实验/Application/Header/ds1302.h
8、DS1302外部SPI时钟单字节实验/Application/Header/STC12C5A60S2.H
8、DS1302外部SPI时钟单字节实验/Application/Source/ds1302.c
8、DS1302外部SPI时钟单字节实验/Application/Source/main.c
8、DS1302外部SPI时钟单字节实验/Application/Startup/STARTUP.A51
8、DS1302外部SPI时钟单字节实验/DS1302_Test.plg
8、DS1302外部SPI时钟单字节实验/DS1302_Test.uvgui.Administrator
8、DS1302外部SPI时钟单字节实验/DS1302_Test.uvopt
8、DS1302外部SPI时钟单字节实验/DS1302_Test.uvproj
8、DS1302外部SPI时钟单字节实验/DS1302_Test_uvopt.bak
8、DS1302外部SPI时钟单字节实验/DS1302_Test_uvproj.bak
8、DS1302外部SPI时钟单字节实验/Lis/ds1302.lst
8、DS1302外部SPI时钟单字节实验/Lis/DS1302_Test.m51
8、DS1302外部SPI时钟单字节实验/Lis/main.lst
8、DS1302外部SPI时钟单字节实验/Lis/STARTUP.lst
8、DS1302外部SPI时钟单字节实验/Obj/ds1302.obj
8、DS1302外部SPI时钟单字节实验/Obj/DS1302_Test
8、DS1302外部SPI时钟单字节实验/Obj/DS1302_Test.hex
8、DS1302外部SPI时钟单字节实验/Obj/DS1302_Test.lnp
8、DS1302外部SPI时钟单字节实验/Obj/DS1302_Test.plg
8、DS1302外部SPI时钟单字节实验/Obj/main.obj
8、DS1302外部SPI时钟单字节实验/Obj/STARTUP.obj
8、DS1302外部SPI时钟单字节实验/Application/Doc
8、DS1302外部SPI时钟单字节实验/Application/Header
8、DS1302外部SPI时钟单字节实验/Application/Source
8、DS1302外部SPI时钟单字节实验/Application/Startup
8、DS1302外部SPI时钟单字节实验/Application
8、DS1302外部SPI时钟单字节实验/Lis
8、DS1302外部SPI时钟单字节实验/Obj
8、DS1302外部SPI时钟单字节实验
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.