文件名称:C51example
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-07-17
- 文件大小:
- 9kb
- 下载次数:
- 0次
- 提 供 者:
- 丁*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1、实时时钟——DS1302
时钟量由单片机送LED数码管显示。LED数码管的使用方法见上文。参考程序1实现预置时间,由软件编程输入当前时间初值,运行程序后LED显示当前时间。参考程序2用按键实现(年、月、日)、(时、分、秒)这两种状态的切换。参考程序3实现按键校时,一个按键可进入或退出设置状态,进入设置状态后,一个键切换所需修改的位,两个键对数字进行加减修改,按键退出设置状态后即返回显示状态。
-A real-time clock- DS1302 clock amount sent by the microcontroller LED digital display. LED digital tube use, see above. Reference procedure to achieve a preset time, enter the current time from the initial software programming, run the program, the LED displays the current time. 2 Use the keys to achieve reference program (year, month, day), (hours, minutes, seconds) to switch the two states. Reference procedure 3 to achieve key school, a key to enter or exit the setting mode, enter setup mode, a button to switch the bits you want to modify, add or subtract two keys on the numeric modify button to exit the setup display status after return .
时钟量由单片机送LED数码管显示。LED数码管的使用方法见上文。参考程序1实现预置时间,由软件编程输入当前时间初值,运行程序后LED显示当前时间。参考程序2用按键实现(年、月、日)、(时、分、秒)这两种状态的切换。参考程序3实现按键校时,一个按键可进入或退出设置状态,进入设置状态后,一个键切换所需修改的位,两个键对数字进行加减修改,按键退出设置状态后即返回显示状态。
-A real-time clock- DS1302 clock amount sent by the microcontroller LED digital display. LED digital tube use, see above. Reference procedure to achieve a preset time, enter the current time from the initial software programming, run the program, the LED displays the current time. 2 Use the keys to achieve reference program (year, month, day), (hours, minutes, seconds) to switch the two states. Reference procedure 3 to achieve key school, a key to enter or exit the setting mode, enter setup mode, a button to switch the bits you want to modify, add or subtract two keys on the numeric modify button to exit the setup display status after return .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建文件夹 (2)\LCD12864的显示驱动.c
..............\LCD1602的显示驱动.c
..............\实时时钟——DS1302.c
..............\数字温度传感器——DS18B20.c
..............\点阵LED屏的显示驱动.c
新建文件夹 (2)