文件名称:sumaguan
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2016-08-30
- 文件大小:
- 122kb
- 下载次数:
- 0次
- 提 供 者:
- 科***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
数码管显示可调整时钟程序
1、程序说明:
该例程演示了如何通过按键设定时钟,采用数码管显示。
2、实验操作
按键:S6:设置,S8:加,S11:减,S10:确定
操作: 按下按键 S6进入设置,可以设置部分闪烁,
依次按S6将显示下一个设置量。
设置的内容顺序依次为:
年-月-日-星期
时-分-秒
按S8和S11设置参数增减。
按S10则退出时钟设置并且保存时钟。
-Digital display adjustable clock program
1. Program Descr iption:
This example demonstrates how to set the clock through the key, using the digital display.
2, experimental operation
Key: S6: Setting, S8: add, S11: Save, S10: OK
Action: Press the button S6 into the settings, you can set the flashing part,
Followed by S6 will display a set amount.
Content Order set as follows:
Year- Month- Day- Week
Minutes and seconds
S8 and S11 by setting parameters increase or decrease.
Press S10 exit and save the clock setting the clock.
1、程序说明:
该例程演示了如何通过按键设定时钟,采用数码管显示。
2、实验操作
按键:S6:设置,S8:加,S11:减,S10:确定
操作: 按下按键 S6进入设置,可以设置部分闪烁,
依次按S6将显示下一个设置量。
设置的内容顺序依次为:
年-月-日-星期
时-分-秒
按S8和S11设置参数增减。
按S10则退出时钟设置并且保存时钟。
-Digital display adjustable clock program
1. Program Descr iption:
This example demonstrates how to set the clock through the key, using the digital display.
2, experimental operation
Key: S6: Setting, S8: add, S11: Save, S10: OK
Action: Press the button S6 into the settings, you can set the flashing part,
Followed by S6 will display a set amount.
Content Order set as follows:
Year- Month- Day- Week
Minutes and seconds
S8 and S11 by setting parameters increase or decrease.
Press S10 exit and save the clock setting the clock.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
42_数码管显示可调时钟测试实验\Application\Doc\readme.txt
.............................\...........\Header\ds1307.h
.............................\...........\......\key.h
.............................\...........\......\main.h
.............................\...........\......\STC15W4K32S4.h
.............................\...........\......\tm1638.h
.............................\...........\Source\ds1307.c
.............................\...........\......\key.c
.............................\...........\......\main.c
.............................\...........\......\tm1638.c
.............................\...........\.tartup\STARTUP.A51
.............................\Lis\ds1302.lst
.............................\...\ds1307.lst
.............................\...\hc595.lst
.............................\...\key.lst
.............................\...\main.lst
.............................\...\SMG_Clock.m51
.............................\...\STARTUP.lst
.............................\...\tm1638.lst
.............................\Obj\ds1302.obj
.............................\...\ds1307.obj
.............................\...\hc595.obj
.............................\...\key.obj
.............................\...\main.obj
.............................\...\SMG_Clock
.............................\...\SMG_Clock.hex
.............................\...\SMG_Clock.lnp
.............................\...\SMG_Clock.plg
.............................\...\STARTUP.obj
.............................\...\tm1638.obj
.............................\SMG_Clock.plg
.............................\SMG_Clock.uvgui.Administrator
.............................\SMG_Clock.uvgui_Administrator.bak
.............................\SMG_Clock.uvopt
.............................\SMG_Clock.uvproj
.............................\SMG_Clock_uvopt.bak
.............................\SMG_Clock_uvproj.bak
.............................\Application\Doc
.............................\...........\Header
.............................\...........\Source
.............................\...........\Startup
.............................\Application
.............................\Lis
.............................\Obj
42_数码管显示可调时钟测试实验