-
工作环境为:
按键采用中断方式
IIC总线接通
P0口上拉
LS244使能
接通数码管
K0:确定键,用来确定调节好的时钟或者闹钟...
工作环境为:
按键采用中断方式
IIC总线接通
P0口上拉
LS244使能
接通数码管
K0:确定键,用来确定调节好的时钟或者闹钟
K1:时钟调节键,用来选择时钟调节的位置
K2:调节键,用来使选中的数字发生改变
K3:闹钟调节键,用来选择闹钟调节的位置
接通电源后可能需要按一次K4(复位键),时钟才会开始走动,此时是一个默认的时间,使用K1来选择需要更改的数字的位置,然后按K2调节,所有的数字都调节好后按K0确定,则时钟会按照新调节好的数据开始走动。
闹钟默认为晨7点,可以通过K3+K2+K0来调节,调节方法同时钟调节。
这是一个比较完善的时钟程序,当然还可以增加许多功能,例如增加闹钟的时间段,或者使到时间后某个输出有效等等,请大家多琢磨,希望看到各位写出的程序比我的这个好。
这个试验主要是学习PCF8563的使用,但也综合了IIC总线读写、中断方式按键处理、数码管数字显示、数码管动态刷新以及内部软件定时等方面,因此是一个综合性比较强的试验。
- 2022-06-29 23:08:31下载
- 积分:1
-
贪吃蛇游戏c语言源代码
天行健,君子以自强不息 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-05-21 02:02:56下载
- 积分:1
-
求两位数字的加,减,乘,除,虽然程序简单 但是写的很好,可以参考一下。8086测试通过
求两位数字的加,减,乘,除,虽然程序简单 但是写的很好,可以参考一下。8086测试通过-seeking two figures, plus or minus, multiplication and addition, although the procedures are simple but very well written and can reference. The test 8086
- 2022-03-17 16:47:29下载
- 积分:1
-
通过51控制8155,再将LED和键盘连接到8155上,来实现LED和键盘的正常工作...
通过51控制8155,再将LED和键盘连接到8155上,来实现LED和键盘的正常工作
- 2023-05-05 17:30:03下载
- 积分:1
-
pci1730卡输出例程
PCI1730卡输出例程
- 2022-07-28 09:40:52下载
- 积分:1
-
本程序有详细的注释,切运行无误 ,程序模块清晰,移植性好,可以实现登陆时间的记录,时间的动态显示,...
本程序有详细的注释,切运行无误 ,程序模块清晰,移植性好,可以实现登陆时间的记录,时间的动态显示,-This procedure has detailed notes, all running correctly, program modules clear, portability, and can realize landing time records, time dynamic display,
- 2022-07-14 15:24:08下载
- 积分:1
-
with AT89S51 SCM timer/counter T0 produce than the regular time, seconds count a...
用 AT89S51 单片机的定时 / 计数器 T0 产生一秒的定时时间,作为秒计数时间,当一秒产生时,秒计数加 1 ,秒计数到 60 时,自动从 0 开始。-with AT89S51 SCM timer/counter T0 produce than the regular time, seconds count as a time when a second time when, seconds count plus one, count to 60 seconds, the automatic starting from 0.
- 2022-01-26 00:18:56下载
- 积分:1
-
EM78P153设计的PWM源代码,里面有详细的描述。
EM78P153用PWM设计的源代码,其中有详细的说明。
- 2022-08-03 05:00:27下载
- 积分:1
-
8255的汇编程序,各种工作方式尽有,是初学者学习的好帮手,也是利用8255扩展IO的普遍方法,只用改下地址直接拿去用就行...
8255的汇编程序,各种工作方式尽有,是初学者学习的好帮手,也是利用8255扩展IO的普遍方法,只用改下地址直接拿去用就行-8255 compilation of procedures, a variety of working methods have to do is a good helper for beginners to learn, but also the use of 8255 to expand the universal method of IO only change taken directly under the address used on the line
- 2022-04-08 17:38:18下载
- 积分:1
-
Assembly language programming and debugging tools. The purpose of learning assem...
汇编语言编程和调试工具。
学习汇编语言的目的就是要用汇编语言编程来解决实际问题,下面介绍二种常用的汇编语言编程环境:宏汇编MASM 6.11和Turbo Assember 5.0。
1.1、宏汇编MASM系统
在宏汇编MASM系统中,程序员可用二种方法来处理源程序:命令行和集成环境。
-Assembly language programming and debugging tools. The purpose of learning assembly language is to use assembly language programming to solve practical problems, the following describes two kinds of commonly used assembly language programming environment: Macro Assembler MASM 6.11 and Turbo Assember 5.0. 1.1, Macro Assembler MASM Macro Assembler MASM system in the system the programmer can be two kinds of ways to deal with source code: The command line and integrated environment.
- 2022-12-17 00:45:04下载
- 积分:1