-
工作环境为:
按键采用中断方式
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
-
12位ad转换程序,很棒的阿。!! !!!使用一下吧!! !! !! !!!...
12位ad转换程序,很棒的阿。!! !!!使用一下吧!! !! !! !!!
- 2022-05-22 06:09:15下载
- 积分:1
-
编写一个函数,输入为偶数时,调用函数求,当输入为奇数时,调用函数1(利用指针函数)...
编写一个函数,输入为偶数时,调用函数求,当输入为奇数时,调用函数1(利用指针函数)-The preparation of a function, even when the input, call function for, when the input is odd, one function call (using indicator functions)
- 2022-11-27 05:15:02下载
- 积分:1
-
51 compilation prepared by CRC
用51汇编编写的CRC-4校验程序,生成多项式g(x) = x4 + x + 1, 非常适合数据量不大的场合.-51 compilation prepared by CRC-4 checksum procedure to generate the polynomial g (x) = x4+ X+ 1, the amount of data is not very suitable for the occasion.
- 2022-06-30 13:41:17下载
- 积分:1
-
在我们生活中,我们很容易通过这个叫张三,那个叫李四,另外一个是王五;那是因为每个人有不同的名子,我们就很快认出,同样,对于要通过一个按键来识别每种不同的功能,我...
在我们生活中,我们很容易通过这个叫张三,那个叫李四,另外一个是王五;那是因为每个人有不同的名子,我们就很快认出,同样,对于要通过一个按键来识别每种不同的功能,我们给每个不同的功能模块用不同的ID号标识,这样,每按下一次按键,ID的值是不相同的,所以单片机就很容易识别不同功能的身份了。-In our lives, we can easily Zhang through this three or four叫李that, another five-Wang it is because everyone has a different name, we quickly identified, and similarly, for a button to pass to identify the different functions of each, we have different functions to each module" s ID number with different logo, so, for every one button press, ID is not the same value, so it is easy to identify the different single-chip function hats.
- 2023-02-25 05:05:03下载
- 积分:1
-
这是一个在两台pc机之间通过串口传输文件的汇编程序
这是一个在两台pc机之间通过串口传输文件的汇编程序-This is one of the two PCs via serial port to transfer files to the assembler
- 2023-08-12 15:45:02下载
- 积分:1
-
pe 文件编程:计算文件crc.rar
pe 文件编程:计算文件crc.rar
-pe documents programming : calculation documents crc.rar
- 2022-03-03 05:09:12下载
- 积分:1
-
段海滨的《蚁群算法原理及其应用》中的蚁群算法的c语言源代码...
段海滨的《蚁群算法原理及其应用》中的蚁群算法的c语言源代码-Hai-Bin Duan" s " Principles and Applications of Ant Colony Algorithm" in the ant colony algorithm c language source code
- 2022-03-10 07:14:29下载
- 积分:1
-
是一些 程序的汇编源代码,需要的话,大家可以下载看看啊
是一些 程序的汇编源代码,需要的话,大家可以下载看看啊
-Is a compilation of some procedural source code, if necessary, you can download to see ah
- 2022-04-12 07:38:12下载
- 积分:1
-
用汇编语言编写的数制转换程序,可以将5位的二进制串转化为十进制数字输出...
用汇编语言编写的数制转换程序,可以将5位的二进制串转化为十进制数字输出-assembler language few of the system conversion process, which would be five binary strings into metric digital output
- 2023-05-09 10:55:03下载
- 积分:1