Title:
STC12C5A60S2_DS1302_Test Download
Description: DS1302 external clock chip single byte read and write test procedures
1, description 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.
To Search:
File list (Check if you may need any files):
8、DS1302外部SPI时钟单字节实验\Application\Doc\readme.txt
..............................\...........\Header\ds1302.h
..............................\...........\......\STC12C5A60S2.H
..............................\...........\Source\ds1302.c
..............................\...........\......\main.c
..............................\...........\.tartup\STARTUP.A51
..............................\DS1302_Test.plg
..............................\DS1302_Test.uvgui.Administrator
..............................\DS1302_Test.uvopt
..............................\DS1302_Test.uvproj
..............................\DS1302_Test_uvopt.bak
..............................\DS1302_Test_uvproj.bak
..............................\Lis\ds1302.lst
..............................\...\DS1302_Test.m51
..............................\...\main.lst
..............................\...\STARTUP.lst
..............................\Obj\ds1302.obj
..............................\...\DS1302_Test
..............................\...\DS1302_Test.hex
..............................\...\DS1302_Test.lnp
..............................\...\DS1302_Test.plg
..............................\...\main.obj
..............................\...\STARTUP.obj
..............................\Application\Doc
..............................\...........\Header
..............................\...........\Source
..............................\...........\Startup
..............................\Application
..............................\Lis
..............................\Obj
8、DS1302外部SPI时钟单字节实验