-
工作环境为:
按键采用中断方式
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
-
VPF6.0代码 省时省力省心
If Thisform.Width
- 2022-12-12 07:20:03下载
- 积分: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
-
Tang detailed description of all test cases, as well as a number written in asse...
唐老师详细介绍了所有的测试用例,以及一些用汇编语言编写的课程设计,详细说明,包括红绿灯、报警系统等。!
- 2022-02-19 21:44:11下载
- 积分:1
-
一个选择文件夹的汇编例子
一个选择文件夹的汇编例子-choose a folder compiled examples of
- 2022-12-09 04:45:03下载
- 积分:1
-
门禁中韦根信号发送,汇编语言编写,51单片机可用.
门禁中韦根信号发送,汇编语言编写,51单片机可用.-Wiegand Access Control in the signal sent, written in assembly language, 51 microcontroller is available.
- 2022-07-24 14:50:50下载
- 积分:1
-
汇编语言实例 好的很!
汇编语言实例 好的很!-assembly language is a good example!
- 2022-02-28 19:53:55下载
- 积分:1
-
停车场管理系统
数据结构栈的应用,希望对大家有所帮助!...
停车场管理系统
数据结构栈的应用,希望对大家有所帮助!-C
- 2023-01-20 17:35:04下载
- 积分:1
-
能够完成小车的自动平衡功能,并且能够在液晶显示屏中显示数据。...
能够完成小车的自动平衡功能,并且能够在液晶显示屏中显示数据。-To complete the car" s self-balancing functions, and can be displayed in the LCD display data.
- 2023-04-07 18:50:03下载
- 积分:1
-
简单的功能介绍:本软件是由,三块模块组成。一个是打字练习,一个是打字计时,一个是音乐练习。本软件解决了打字练习途中的估噪无味,提升练习效果。本游戏有4个等级,可...
简单的功能介绍:本软件是由,三块模块组成。一个是打字练习,一个是打字计时,一个是音乐练习。本软件解决了打字练习途中的估噪无味,提升练习效果。本游戏有4个等级,可以根据情况来选择。这个软件还改进了,判断你是否打字失败功能。如果,打字失败,还可以从来,亦可退出。打字计时,为你打字计时间,提高效率。同时,电子琴音乐,为你在无聊时,增添色彩,可以练习歌谱,提高兴趣。-Simple, functional description: This software is, three modules. 1 is a typing exercise, one is typing time, a music practice. The software solves the assessed noise typing practice tasteless way to improve practice effect. This game has four levels, you can choose depending on the circumstances. The software also improved, to determine whether you have failed typing feature. If, typing fails, you can never can quit. Typing time for your time typing dollars and improve efficiency. At the same time, organ music, for when you" re bored, add color, you can practice song sheet, interest.
- 2022-04-20 01:50:50下载
- 积分:1