文件名称:C51example
介绍说明--下载内容来自于网络,使用问题请自行百度
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
新建文件夹 (2)/LCD1602的显示驱动.c
新建文件夹 (2)/实时时钟——DS1302.c
新建文件夹 (2)/数字温度传感器——DS18B20.c
新建文件夹 (2)/点阵LED屏的显示驱动.c
新建文件夹 (2)
新建文件夹 (2)/LCD1602的显示驱动.c
新建文件夹 (2)/实时时钟——DS1302.c
新建文件夹 (2)/数字温度传感器——DS18B20.c
新建文件夹 (2)/点阵LED屏的显示驱动.c
新建文件夹 (2)
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.