-
工作环境为:
按键采用中断方式
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
-
微机原理与应用的几个简单的实例,主要有8255等的应用
微机原理与应用的几个简单的实例,主要有8255等的应用-Microcomputer Principle and Application of a few simple examples, mainly 8255 and so the application of
- 2022-05-23 06:26:32下载
- 积分:1
-
汇编程序案例9音乐演奏music.rar
汇编程序案例9音乐演奏music.rar-Nine cases assembler music music.rar
- 2022-04-22 01:49:52下载
- 积分:1
-
基于892051红外遥控电子密码锁,接收部分程序
基于892051红外遥控电子密码锁,接收部分程序-892,051 based on the infrared remote control of electronic locks, receive some of the procedures
- 2022-06-12 21:12:30下载
- 积分:1
-
This is a sample of OUT instruction. It writes values to virtual I/O port that c...
This a sample of OUT instruction. It writes values to virtual I/O port that controls the stepper-motor. Try using datCCW, datCW_FS or datCCW_FS instead of datCW to get different behavior of the motor. -This is a sample of OUT instruction. It writes values to virtual I/O port that controls the stepper-motor. Try using datCCW, datCW_FS or datCCW_FS instead of datCW to get different behavior of the motor.
- 2022-11-02 02:15:03下载
- 积分:1
-
用汇编语言编写音乐演奏程序。具体要求如下:
程序运行在屏幕显示第一界面如下:
A my piano
B my music
X exit...
用汇编语言编写音乐演奏程序。具体要求如下:
程序运行在屏幕显示第一界面如下:
A my piano
B my music
X exit
-With the music program written in assembly language. Specific requirements are as follows: program running on the first interface screen is as follows: A my piano B my music X exit
- 2022-03-14 09:37:24下载
- 积分:1
-
PIC 外部中断 控制程序
此电话用于工作面沿线,与控制台配接,具有沿线的报
警、通话、闭锁等功能。型号 1:开关为旋钮,可以远启远停破碎机、转载机、前部运输机、
后部运输机,对前部运输机或后部运输机进行锁定。型号 2:开关为按钮,与控制台配接可
以闭锁前部运输机或后部运输机。利用PIC16f628A单片机实现控制程序
- 2022-01-31 16:13:03下载
- 积分:1
-
改进的七段显示电子钟
改进的七段显示电子钟-showed improvement in paragraph 107 of the electronic bell
- 2023-05-16 12:30:03下载
- 积分:1
-
51定时器完整源程序。有详细介绍,解压即用。非常方便,实用...
51定时器完整源程序。有详细介绍,解压即用。非常方便,实用-51 timers complete source. For more details, used to extract. Very convenient, practical
- 2022-01-23 10:45:44下载
- 积分:1
-
very useful compilation of the four experimental report language! It can be down...
非常有用的四个汇编语言实验报告!下载回来就可以交给老师了!!!!!绝对的好东西-very useful compilation of the four experimental report language! It can be downloaded back to the teachers! ! ! ! ! Definitely a good thing! !
- 2023-08-06 09:05:03下载
- 积分:1