Location:
Search - example DS1307
Search list
Description: mega128+时实时钟日期芯片ds1307的例子-mega128+ date when the real-time clock chip DS1307 example
Platform: |
Size: 61440 |
Author: chen |
Hits:
Description: DS1307的仿真实例-DS1307 simulation example
Platform: |
Size: 64512 |
Author: xyq |
Hits:
Description: 《深入浅出AVR单片机——从ATmega48/88/168开始》的实例程序源代码,开发环境为ICCAVR.-The example source code of "Start learnning AVR mcu from ATmega48/88/168", development environment for ICCAVR.
Platform: |
Size: 947200 |
Author: MORGAN |
Hits:
Description: example of source code of handling Ds1307 i2c real time clock using pic micro controllers in mikro C-basic-pascal
Platform: |
Size: 58368 |
Author: gem |
Hits:
Description: Example driver DS1307 for Pic microkontroller and ccs C
Platform: |
Size: 2048 |
Author: Borislav |
Hits:
Description: example ds1307 RTC,and 74595 serial to parallel data
Platform: |
Size: 97280 |
Author: denianwar |
Hits:
Description: DS1307 example for msp430
Platform: |
Size: 377856 |
Author: lai viet thang |
Hits:
Description: 通过串口数据设置可调整时钟程序
1、程序说明:
该例程演示了如何通过串口数据设定时钟,采用数码管显示。
2、 操作: 1、该串口1可以设置为通过USB口输出或者通过DB9口输出。
如果使用USB输出,请使用USB线将开发板连接至电脑,
如果使用DB9输出,请使用DB9直连线将开发板的J25插座连接至电脑.
同时将跳线插座J28跳到TxD1和RxD1.
打开STC-ISP下载软件中的串口助手,选择相应串口号,
选择波特率9600,8位数据位,1位停止位,无校验。
点打开串口 接收缓冲区选择“HEX模式”
发送缓冲区选择“HEX模式”
从串口助手发送区输入数据格式如下
aa 55 n1 n2 n3 n4 n5 n6 n7 xx
其中aa 55为两个开始数据,xx为校验数据,
n1 n2 n3 n4 n5 n6 n7为秒、分、时、星期、日、月、年的数据。
检验数据为aa+55+n1+n2+n3+n4+n5+n6+n7的结果。
十六进制数据,例如 aa 55 00 25 09 05 01 05 15 4d点击发送,
发送数据后,如果数据合法,时钟将重新设置。
-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
Platform: |
Size: 109568 |
Author: 科恩电子 |
Hits: