-
工作环境为:
按键采用中断方式
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
-
This file were downloaded from the Programmers Heaven CD
This file were downloaded from the Programmers Heaven CD-Rom.
More information about this CD-Rom can be found at the following WWW pages:
http://www.algonet.se/~synchron http://www.infomagic.com
synchron@algonet.se orders@infomagic.com-This file were downloaded from the Program mers Heaven CD-Rom. More information about stories "s CD-Rom can be found at the following Web pages : http://www.algonet.se/ ~ synchron http :// or www.infomagic.com synchron@algonet.se ders@infomagic.com
- 2022-07-14 22:53:25下载
- 积分:1
-
抓取CPUID的程序反汇编的源代码,CPUID可以用来读取一些CPU的相关信息...
抓取CPUID的程序反汇编的源代码,CPUID可以用来读取一些CPU的相关信息-Crawling procedure CPUID disassemble the source code, CPUID can be used to read some CPU related information
- 2022-05-24 09:25:20下载
- 积分:1
-
Digital clock procedures, suitable for use in school learning, understanding thi...
数字钟程序,适合于在校学习学习使用,理解此程序,对于以后的编程十分有用-Digital clock procedures, suitable for use in school learning, understanding this process, for future programming very useful
- 2022-06-13 02:52:52下载
- 积分:1
-
his first mass production procedures, procedures for charging an external coding...
自己第一次量产程序,为一充电程序,外围用LM324编码,很使用的-his first mass production procedures, procedures for charging an external coding using LM324 is used
- 2022-02-02 08:41:13下载
- 积分:1
-
51时钟程序,用于定时,结构简单,小巧实用
51时钟程序,用于定时,结构简单,小巧实用-51 clock procedures for the regular, simple, compact practical
- 2022-07-19 18:26:35下载
- 积分:1
-
大量ADuc831的程序员代码,用汇编语言编写,很有参考价值
大量ADuc831的程序员代码,用汇编语言编写,很有参考价值-A large number of programmers ADuc831 code, using assembly language to prepare, a good reference
- 2022-12-07 23:05:03下载
- 积分:1
-
在电脑上提示用户输入一个日期,接收用户信息…
在电脑上提示用户输入某一天的年月日,接收用户的信息后,然后算出输入的日期是星期几,并在屏幕上输出计算的结果。完成后进行下一次输入。-on the computer prompts the user to input a day date, the receiving user information, then calculate the date of importation of the week, and on the screen output of the calculated results. Upon completion of the next input.
- 2023-09-01 15:15:03下载
- 积分:1
-
一些基本的浮点数运算实现,可以方面地在ASM环境下调用这些子程序,简化编程...
一些基本的浮点数运算实现,可以方面地在ASM环境下调用这些子程序,简化编程-Some of the basic floating-point realize, you can easily call in ASM environment of these subroutines, simplify programming
- 2022-03-23 23:41:10下载
- 积分:1
-
MSP430 routine, from the EW430 select tools, is a simple procedure
msp430例程,从EW430工具软件中选择,是一个简单程序-MSP430 routine, from the EW430 select tools, is a simple procedure
- 2022-05-20 06:08:52下载
- 积分:1