-
由8051组成的单片机系统通常情况下,P0口分时复用作为地址、数据总线,P2口提供A15...
由8051组成的单片机系统通常情况下,P0口分时复用作为地址、数据总线,P2口提供A15-A8即高8位地址,P3口用作第二功能,只有P1口通常用作I/0口。P1口是8位准双向口,它的每一位都可独立地定义为输入或输出,因此既可作为8位的并行I/O口,也可作为8位的输入输出端。当工作在输入方式时,对应位的锁存器必须先置1,才能正确地读到引脚上的信号,否则,执行读引脚指令时,若对应位的锁存器的值为0,读的结果永远为0。-By 8051, composed of single-chip microcomputer system under normal circumstances, P0 timeshare I reuse as address, data bus, P2 I provide A15-A8 high eight address, P3 mouth for the second function, I usually only P1 for I/0 I. P1 I was eight quasi-two-way port, it can be independent of each and every defined as input or output, it can be used as 8-bit parallel I/O port, can also be used as 8-bit input and output side. When the work in the input, the corresponding bit latch must first buy one in order to correctly read the signal pin, or pin the implementation of reading instruction, if the corresponding bit latch the value of 0, Reading the results of Forever to 0.
- 2023-08-10 04:55:03下载
- 积分:1
-
arm嵌入式系统lpc22**看门狗溢出复位源代码
arm嵌入式系统lpc22**看门狗溢出复位源代码-arm embedded system lpc22 ** reset the watchdog overflow source code
- 2023-03-01 07:35:03下载
- 积分:1
-
Scart To Tv 的源代码,作为接口转换是个很好的参考代码
Scart To Tv 的源代码,作为接口转换是个很好的参考代码-Scart To Tv source code, as Interface Converter is a good reference code
- 2022-04-08 05:12:09下载
- 积分:1
-
使用EM78P468单片机做的IC卡煤气表程序。
使用EM78P468单片机做的IC卡煤气表程序。-EM78P468 Singlechip make use of the IC card gas meter program.
- 2022-02-01 16:40:55下载
- 积分:1
-
C程序开发编程
C程序开发编程-C Programming Programming
- 2022-04-11 20:35:51下载
- 积分:1
-
通过PIC单片机控制CC00通信,按某一个键在八段LED上显示相应的键值...
通过PIC单片机控制CC00通信,按某一个键在八段LED上显示相应的键值-Through the PIC SCM CC00 communications, according to a key in the eight LED display the corresponding key
- 2022-09-12 15:30:03下载
- 积分:1
-
LPC932 MEASURE PROGRAM
LPC932 MEASURE PROGRAM
- 2022-07-19 23:04:33下载
- 积分:1
-
DS18B20 +DS1302+LCD1602 + 16×16点移动显示
DS18B20+DS1302+LCD1602+16X16点阵移动显示-DS18B20+ DS1302+ LCD1602+16 X16 Dot Mobile Display
- 2023-04-15 11:40:03下载
- 积分:1
-
1.电子琴功能
用实验板上K1~K7作为电子琴的7个按键,每个按键对应一个音符要求当按下其中一个按键,就通过P2.5口输出对应频率信号使蜂鸣器发出特定音符声...
1.电子琴功能
用实验板上K1~K7作为电子琴的7个按键,每个按键对应一个音符要求当按下其中一个按键,就通过P2.5口输出对应频率信号使蜂鸣器发出特定音符声音。
2.乐曲演奏
若按下K8键,完成自动弹奏“送别”歌曲。
-1. Organ function of the experimental board K1 ~ K7 as the organ of the seven buttons, each button corresponds to a note of which require that when the press of a button, on the adoption of P2.5 port output frequency signal corresponding to a specific note to the buzzer sounds . 2. Music playing, if pressed K8 button to complete the auto-play " Farewell" songs.
- 2023-01-04 14:40:03下载
- 积分:1
-
这个程序是控制无线模块2401接受,为51系列单片机控制。可以将接收到的字节上传到电脑的串口
这个程序是控制无线模块2401接受,为51系列单片机控制。可以将接收到的字节上传到电脑的串口-This procedure is to control the wireless module 2401 to accept for the 51 series single-chip control. Can be received bytes uploaded to the computer
- 2023-08-04 09:30:03下载
- 积分:1