-
使用键盘上的上、下、左、右四个按键,可以分别控制led1,2,3,4,每个LED 对应的Port 请参考“实验平台介绍”说明文档。要求按下
上面提到的四个按...
使用键盘上的上、下、左、右四个按键,可以分别控制led1,2,3,4,每个LED 对应的Port 请参考“实验平台介绍”说明文档。要求按下
上面提到的四个按键中间的一个按键后,该按键对应的led 被点亮,持续1 秒钟以后led 熄
灭。-Use the keyboard on the upper and lower, left, and right buttons, can control led1, 2,3,4, each LED corresponding to the Port, please refer to " experiment on" documentation. Requirements of the four above-mentioned press the middle button of a button, the button that corresponds to being light led, continuous 1 second later led out.
- 2023-07-07 06:15:03下载
- 积分:1
-
PIC SINGLE-CHIP KEYSTROKE TEST
包括仿真电路及C程序,参考《PIC单片机入门和实战》。按键检测原理:PORTB的高4位设置为输入模式,且开启内部若上拉功能,这样,PORTB的高4位就全都是1,也就是按键的列线全是1,而PORTB的低4位全是0,也就是按键的行线全是0。若有按键按下,那么行线和列线就会连通,按键所在的列线的电压就会拉低,变为0。这个时候,读PORTB,低4位仍然为0 ,但是高四位就会有一位也是0。所以if((PORTB & 0xF0)!=0xF0)可以判断按键是否按下,因为如果按下了,高四位就不全为1。按键扫描,低4位依次输出0,而 低4位的另外3位输出1,那么,当输出0的行线,碰到按键按下的列线,就会将列线的电压拉低,这时候,读PORTB,就会得到按键的行列位置,即按键码。如果输出0的行线,未与按键的列线相连,那么高4位仍然全为1。就继续扫描。KeyCode[]数组中,存储了最近几次的按键码,最多可以存储最近8次,更改数组就可以更改存储大小。若多连接几个数码管,就可以依次显示按键的内容,如同计算器一样
- 2023-06-16 10:20:04下载
- 积分:1
-
LPC2294 ARM7 UART 测试程序
LPC2294 ARM7 UART 测试程序-LPC2294 ARM7 UART test procedures
- 2023-02-05 16:05:03下载
- 积分:1
-
AT89C51SND1 has the following functions :* MP3 decoder hardware
AT89C51SND1具有以下功能: *MP3硬件解码器
-单独的MP3解码器
-支持48,44.1, 32, 24, 22.05, 16KHz采样频率
-左右声道独立的音量控制(软件使用31级)
-重低音、中音、高音均衡控制(31级)
-重低环绕声效果
-辅助数据输出
-“CRC错误”和“MPEG帧同步”指示-AT89C51SND1 has the following functions :* MP3 decoder hardware-alone MP3 decoder-support 48, 44.1, 32, 24, 22.05, 16KHz sampling frequency-independent channel around the volume control (software 31)- bass, tenor, Treble balance control (31)- weight Surround Sound effect of low-output auxiliary data- "CRC error" and "MPEG frame synchronization "instructions
- 2022-08-23 12:41:23下载
- 积分:1
-
国半usbn9604芯片开发办的源码,支持usb控制、中断、批量、同步传输。...
国半usbn9604芯片开发办的源码,支持usb控制、中断、批量、同步传输。- The country half usbn9604 chip development manages the source
code, supports the usb control, the severance, the batch, the
synchronized transmission.
- 2022-11-29 10:40:04下载
- 积分:1
-
基于armSUMSUNG公司嵌入式处器的移植的原代码及相关说明理。
基于armSUMSUNG公司嵌入式处器的移植的原代码及相关说明理。-Based on Embedded armSUMSUNG Department
- 2022-04-11 01:27:36下载
- 积分:1
-
GPIO test examples, including drivers and applications, applications prepared us...
GPIO测试例子,包括驱动程序和应用程序,应用程序采用EVC编写。-GPIO test examples, including drivers and applications, applications prepared using EVC.
- 2022-01-25 14:47:48下载
- 积分:1
-
FREESCALE 16位单片机片MC9S12DG128的串口驱动程序,环行缓冲区大小可设置,支持半双工RS485通信,可调用用户事件...
FREESCALE 16位单片机片MC9S12DG128的串口驱动程序,环行缓冲区大小可设置,支持半双工RS485通信,可调用用户事件-SCM MC9S12DG128 Serial Driver, Ring buffer size can be set up to support half-duplex RS485 communications, users can call the incident
- 2022-03-25 02:13:29下载
- 积分:1
-
AT91SAM7 SWI, Remap, GPIO, PIT and stdio Example ( Gamma )
AT91SAM7 SWI, Remap, GPIO, PIT and stdio Example ( Gamma )
- 2022-07-19 20:32:06下载
- 积分:1
-
Simple MIPS CPU code for this CPU contains shift add sub and or stl beq lw sw fu...
此CPU的简单MIPS CPU代码包含shift add sub和/或stl beq lw sw函数
- 2022-11-25 21:20:03下载
- 积分:1