登录
首页 » 汇编语言 » 工作环境为: 按键采用中断方式 IIC总线接通 P0口上拉 LS244使能 接通数码管 K0:确定键,用来确定调节好的时钟或者闹钟...

工作环境为: 按键采用中断方式 IIC总线接通 P0口上拉 LS244使能 接通数码管 K0:确定键,用来确定调节好的时钟或者闹钟...

于 2022-06-29 发布 文件大小:9.26 kB
0 142
下载积分: 2 下载次数: 1

代码说明:

工作环境为: 按键采用中断方式 IIC总线接通 P0口上拉 LS244使能 接通数码管 K0:确定键,用来确定调节好的时钟或者闹钟 K1:时钟调节键,用来选择时钟调节的位置 K2:调节键,用来使选中的数字发生改变 K3:闹钟调节键,用来选择闹钟调节的位置 接通电源后可能需要按一次K4(复位键),时钟才会开始走动,此时是一个默认的时间,使用K1来选择需要更改的数字的位置,然后按K2调节,所有的数字都调节好后按K0确定,则时钟会按照新调节好的数据开始走动。 闹钟默认为晨7点,可以通过K3+K2+K0来调节,调节方法同时钟调节。 这是一个比较完善的时钟程序,当然还可以增加许多功能,例如增加闹钟的时间段,或者使到时间后某个输出有效等等,请大家多琢磨,希望看到各位写出的程序比我的这个好。 这个试验主要是学习PCF8563的使用,但也综合了IIC总线读写、中断方式按键处理、数码管数字显示、数码管动态刷新以及内部软件定时等方面,因此是一个综合性比较强的试验。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 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
  • 单片机产生PWM波对电机进行调速 脉冲宽度调制(Pulse Width Modulation―PWM)是指将输出信号的基本周期固定,通过调整基本周期内工作周...
    单片机产生PWM波对电机进行调速 脉冲宽度调制(Pulse Width Modulation―PWM)是指将输出信号的基本周期固定,通过调整基本周期内工作周期的大小来控制输出功率-Single-chip PWM wave generated on the motor speed Pulse width modulation (Pulse Width Modulation-PWM) refers to the basic cycle of the output signal of a fixed basic cycle by adjusting the duty cycle to control the size of the output power
    2022-01-30 20:34:27下载
    积分:1
  • 的准备知识
    汇编语言的准备知识- Assembly language preparation knowledge
    2022-06-16 06:21:02下载
    积分:1
  • 农夫过河解决问题的方法
    农夫过河问题的解决方法-farmer across the river the solution to the problem
    2022-08-22 17:49:33下载
    积分:1
  • 摘要
    Abstract A new intelligent milometer base on a microcontroller can count the sum. By taking full use of the processor 89s51 and E² PROM (AT24C02) and sensor of magnetism, it can count the sum of fully distance and the course of development.
    2022-07-04 07:25:07下载
    积分:1
  • Stepper Motor Controlled by pic12F629
    我发现在我的盒子里有电子设备单极步进电机-PM35L-048-HP04。这是我第一次接触步进电机。
    2022-01-26 01:07:56下载
    积分:1
  • 这是一个,教如何写软盘的子程序。一个G。
    This a assembly languages that teach how to write floppy disk subroutine. A great start for beginner who want to learn how ASM work. i got 100 for this assignment. have a look and comment-This is a assembly languages that teach how to write floppy disk subroutine. A great start for beginner who want to learn how ASM work. i got 100 for this assignment. have a look and comment
    2022-03-31 19:56:51下载
    积分:1
  • recently prepared by the source code, we may feel at ease with it and handy, wit...
    这是本人最近编写的源代码,大家不妨放心用吧,太好用了,用了就知道了。-recently prepared by the source code, we may feel at ease with it and handy, with a will know.
    2022-07-26 04:19:26下载
    积分:1
  • Dining philosophers problem is presented and solved Dijkatra typical synchroniza...
    哲学家就餐问题是由Dijkatra提出并解决的典型同步问题。该问题描述的是有五个哲学家共用一张圆桌,分别坐在周围的五张椅子上,圆桌上有五个碗和五只筷子,他们的生活方式是交替的进行思考和就餐。平时,一个哲学家进行思考,饥饿时便试图取用其左右最靠近他的筷子,只有在他拿到两只筷子时才能进餐。进餐完,放下筷子继续思考。-Dining philosophers problem is presented and solved Dijkatra typical synchronization problems. Description of the problem is that there are five philosophers share a round-table were sitting around the five chair, round table has five bowl and five chopsticks, their way of life is the turn of thinking and eating. Normally, a philosopher to think, hunger when trying to access their nearest him about the chopsticks, only if he can get two chopsticks when eating. End meals, to lay down their chopsticks to continue thinking.
    2023-06-13 12:15:03下载
    积分:1
  • 很好玩的俄罗斯方块游戏哦~这是实现的课程设计呢
    很好玩的俄罗斯方块游戏哦~这是汇编实现的课程设计呢-very fun game of the Russian box-oh this is a compilation of the design to achieve?
    2023-05-21 04:20:03下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载