-
工作环境为:
按键采用中断方式
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
-
我写的一个关于猜数字的小游戏,基于6502平台,基本能实现功能...
我写的一个关于猜数字的小游戏,基于6502平台,基本能实现功能-I wrote a ringing of the little game, based on 6502 platform, the basic function can be achieved
- 2022-01-24 08:44:26下载
- 积分:1
-
Dll code inspired wood and surveillance (the end of wood ... Dll code to stimula...
Dll木码激发及监视(结束...Dll木码激发及监视(结束-Dll code inspired wood and surveillance (the end of wood ... Dll code to stimulate and monitor (the end of
- 2022-03-01 13:54:29下载
- 积分:1
-
A simple clock program, want to be helpful for beginners
一个简单的电子钟程序,希望对初学者有帮助-A simple clock program, want to be helpful for beginners
- 2022-01-23 11:08:33下载
- 积分:1
-
Cutting graphics computer graphics processing is very important aspect, the proc...
图形的裁剪是计算机图形处理中很重要的环节,本程序介绍了这一功能。-Cutting graphics computer graphics processing is very important aspect, the procedures introduced this feature.
- 2022-01-28 05:01:09下载
- 积分:1
-
用c++编程 *
*** **
*** *
*****
*
用c++编程 *
*** **
*** *
*****
*-Programming with c****************
- 2022-01-26 02:25:42下载
- 积分:1
-
menuet os application source code, compile written many applications
menuet os应用程序源代码,很多汇编写的应用程序-menuet os application source code, compile written many applications
- 2022-01-21 18:12:54下载
- 积分:1
-
integer function for the two majors and the least common multiple source files
函数求两个整数的最大公约数和最小公倍数的源程序-integer function for the two majors and the least common multiple source files
- 2022-03-04 00:37:23下载
- 积分:1
-
液晶要带字库的!!
自己编的,正在用呢,保证对
液晶要带字库的!!
自己编的,正在用呢,保证对-??????
- 2022-05-17 08:03:09下载
- 积分:1
-
Using assembly language to achieve that can play songs that procedure, in 51 sin...
用汇编语言实现的可以播放歌曲的是程序,在51单片机上配合蜂鸣器可以播放梁祝的歌曲。-Using assembly language to achieve that can play songs that procedure, in 51 single-chip buzzer can play with the song Butterfly Lovers.
- 2022-02-04 13:09:06下载
- 积分:1