-
Category : SCM
Tags :
- Update : 2016-08-30
- Size : 107kb
- Downloaded :0次
- Author :科*****
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
The adjustable clock program through the serial data
1. Program Description:
This example demonstrates how to set the clock via the serial data, the use of digital display.
2: 1, 1 serial port that can be set to output via USB port or via DB9 port output.
If you use a USB output, use a USB cable connected to the computer board,
If you use a DB9 output, use a DB9 straight cable to connect the socket J25 development board to the computer.
While the socket J28 jumper to jump TxD1 and RxD1.
Open the STC-ISP download software serial assistant, the corresponding serial number,
Select the baud rate of 9600, 8 data bits, 1 stop bit, no parity.
Point to open the serial port receive buffer HEX mode
Transmit Buffer Select HEX mode
Input data serial format to send aides area below
aa 55 n1 n2 n3 n4 n5 n6 n7 xx
Wherein aa 55 to start two data, xx To verify that data,
n1 n2 n3 n4 n5 n6 n7 seconds, minutes, hours, day, date, month, and year of data.
Test data
Packet file list
(Preview for download)
43_通过串口数据设置DS1307时钟实验\Application\Doc\readme.txt
.................................\...........\Header\ds1307.h
.................................\...........\......\main.h
.................................\...........\......\STC15W4K32S4.h
.................................\...........\......\tm1638.h
.................................\...........\Source\ds1307.c
.................................\...........\......\main.c
.................................\...........\......\tm1638.c
.................................\...........\.tartup\STARTUP.A51
.................................\Lis\ds1302.lst
.................................\...\ds1307.lst
.................................\...\hc595.lst
.................................\...\main.lst
.................................\...\Serial_DS1302.m51
.................................\...\STARTUP.lst
.................................\...\tm1638.lst
.................................\Obj\ds1302.obj
.................................\...\ds1307.obj
.................................\...\hc595.obj
.................................\...\main.obj
.................................\...\Serial_DS1302
.................................\...\Serial_DS1302.hex
.................................\...\Serial_DS1302.lnp
.................................\...\Serial_DS1302.plg
.................................\...\STARTUP.obj
.................................\...\tm1638.obj
.................................\Serial_DS1307.plg
.................................\Serial_DS1307.uvgui.Administrator
.................................\Serial_DS1307.uvgui_Administrator.bak
.................................\Serial_DS1307.uvopt
.................................\Serial_DS1307.uvproj
.................................\Serial_DS1307_uvopt.bak
.................................\Serial_DS1307_uvproj.bak
.................................\Application\Doc
.................................\...........\Header
.................................\...........\Source
.................................\...........\Startup
.................................\Application
.................................\Lis
.................................\Obj
43_通过串口数据设置DS1307时钟实验
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information