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

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

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

代码说明:

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

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

发表评论

0 个回复

  • jndi的使用 简单的浏览器 如何使用简单、jndi 希望大家喜欢
    jndi的使用 简单的浏览器 如何使用简单、jndi 希望大家喜欢
    2022-11-15 23:00:03下载
    积分:1
  • 在屏幕上开出三个窗口:起止坐标为(5,10)和(15,30),(5,50)和(15,70),(18,15)和(22,65)。要求可用左右方向键选择左窗口或右窗口
    在屏幕上开出三个窗口:起止坐标为(5,10)和(15,30),(5,50)和(15,70),(18,15)和(22,65)。要求可用左右方向键选择左窗口或右窗口为当前活动窗口。当一行字符显示满后(左右窗口一行显示20个字符,下窗口显示50个字符),窗口自动向上卷动一行,输入的字符仍显示与最低一行,窗口最高一行向上卷动后消失。用上下方向键可使活动窗口及下窗口内容同时上卷或下卷。输入‘ESC’后结束程序。(huangyujie)-screen out three windows : starting and ending coordinates (5,10) and (15, 30), (5,50) and (15.70) (18.15) and (22.65). Asked about the direction keys can be used to choose the left or right window to window to window current activities. When his characters show after the expiration of (his show window about 20 characters, the next window displays 50 characters), the window automatically scrolling upward here, the importation of characters showed that the minimum here, his highest window scrolling upward disappeared. Up and down direction keys enable activities under the window and window content, but on the next volume or volumes. Importation "ESC" end after the procedure. (Huangyujie)
    2022-07-13 02:20:18下载
    积分:1
  • 自己做的程序,分享一下,希望大家多多指点,汇编语言学习的成果,包含了两个源代码,分别是(add和sub)...
    自己做的程序,分享一下,希望大家多多指点,汇编语言学习的成果,包含了两个源代码,分别是(add和sub)-To do their own procedures, to share the hope that a lot of U.S. guidance, the compilation of the results of language learning, including the two source code, respectively (add and sub)
    2023-07-21 14:10:04下载
    积分:1
  • dspic6012A读写24LC02B的例程(用c语言编写)
    dspic6012A读写24LC02B的例程(用c语言编写)-24LC02B of routines to read and write dspic6012A (using c language)
    2023-05-27 22:30:04下载
    积分:1
  • 串口测试程序,方便初学者调单片机串行通讯
    串口测试程序,方便初学者调单片机串行通讯 -12333333333
    2022-02-01 22:29:44下载
    积分:1
  • an asm program for serial rs232 data communication.
    asm的基于rs232的连机数据传输与接受程序。-an asm program for serial rs232 data communication.
    2023-05-25 18:25:03下载
    积分:1
  • 基于JAVA的3D坦克游戏源代码
    基于JAVA的3D坦克游戏源代码 -Java-based 3D tank game source code
    2022-03-21 18:55:45下载
    积分:1
  • 用单片机芯片ht46rb50温度计的设计、广告等。ht46rb50
    本次设计的温度计采用HT46RB50 微控制器IC,HT46RB50 的AD 口外接一热敏电阻,通过 AD 读回的电压计算出热敏电阻阻值的变化,从而实现侦测外界温度的功能。HT46RB50 通 过USB 将侦测到的温度值传入PC 机的温度显示接口中显示。 本次设计的USB 使用操作系统提供的USB HID 设备类驱动程序。 • 采用USB 控制传输向HT46RB50 发送资料 • 采用USB 中断传输接收HT46RB50 传回的资料-The design of the thermometer used HT46RB50 microcontroller IC, HT46RB50 of AD external mouth of a thermistor, through the AD read-back voltage to calculate the changes in thermistor resistance in order to achieve the function to detect the outside temperature. HT46RB50 through the USB will be detected by the temperature of the temperature of incoming PC-display interface to display. The USB to use the operating system designed to provide the USB HID device class driver.
    2022-06-16 23:32:08下载
    积分:1
  • MCS
    MCS-96单片机中断控制下的多道I_O程序。该程序完成4路采样,并在HSO线上给出相应PWM输出,P2.5上给出另一个PWM输出。-MCS-96 microcontroller suspended under the control of multi-channel I_O procedures. The procedures are completed 4 Sample Road and the HSO line is the corresponding PWM output dry weight is given another PWM output.
    2022-11-08 23:55:03下载
    积分:1
  • From the first time the procedure is " C++ Programming Guide" series, s...
    第一次上传的程序,是《C++程序设计教程》系列的部分辅助代码。作者是钱能-From the first time the procedure is " C++ Programming Guide" series, some people in the supplementary code. The author is money to
    2023-08-01 07:00:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载