-
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
-
:本文首先描述了开放源码的嵌入式硬件仿真环境SkyEye的总体架构,然后对SkyEye模拟器的LCD及TouchScreen模拟模块的设计、实现与验证过程进行了...
:本文首先描述了开放源码的嵌入式硬件仿真环境SkyEye的总体架构,然后对SkyEye模拟器的LCD及TouchScreen模拟模块的设计、实现与验证过程进行了深入的阐述,并且分析比较了LCD模拟的不同实现方式。开源嵌入式GUI系统-MiniGUI和Linux操作系统在SkyEye模拟器上的成功运行说明了SkyEye模拟器的LCD及TouchScreen模拟模块的设计实现是正确和可靠的。-: This paper first describes the open source embedded hardware simulation environment SkyEye the overall framework and then on the simulator SkyEye LCD and TouchScreen simulation module design, implementation and certification process conducted in-depth exposition, analysis and comparison of the different LCD simulation methods of implementation. Open-source embedded GUI system-MiniGUI and Linux operating system in the simulator SkyEye successful operation of the note SkyEye Simulator LCD and TouchScreen simulation module is designed to achieve a correct and reliable.
- 2022-07-13 13:05:50下载
- 积分:1
-
ARM7
基于ARM7不带系统的串口编程原代码-ARM7-based system without the original serial programming code
- 2022-01-28 21:37:59下载
- 积分:1
-
这是看操作系统一书的一点笔记,希望对初学者有点帮助
这是看操作系统一书的一点笔记,希望对初学者有点帮助-This is the operating system look a little note book, I hope a little help for beginners
- 2022-06-01 17:40:32下载
- 积分:1
-
FLASH memory to read and write subroutines 24C256 Series
FLASH储存器24C256系列读写子程序-FLASH memory to read and write subroutines 24C256 Series
- 2023-03-30 07:40:03下载
- 积分:1
-
s3c2410驱动文件入门例程1,led控制。
s3c2410驱动文件入门例程1,led控制。-S3C2410 driver entry routine document 1, led control.
- 2022-03-11 04:48:29下载
- 积分:1
-
with C51 prepared by the 51 U
用C51编写的51读写U盘的源程序,调试通过-with C51 prepared by the 51 U-writable disc source, through debugging
- 2022-05-17 04:59:53下载
- 积分:1
-
GPIO
GPIO-步进电机控制实验
熟悉s3c2410a的GPIO基本功能和设置方法。
掌握步进电机的驱动原理。
掌握如何利用GPIO功能控制步进电机-GPIO-stepper motor control experiment s3c2410a familiar with the basic functions of the GPIO methods and settings. Grasp the principle of stepper motor drivers. Grasp how to make use of stepper motor control GPIO functions
- 2022-03-11 15:14:28下载
- 积分:1
-
NEC的3.5液晶驱动下能够
S32440 下的 NEC 3.5 Lcd 驱动程序-S32440 under the NEC 3.5 Lcd Driver
- 2022-06-26 23:24:22下载
- 积分:1
-
powarm S3C2440 kernel schematics
powarm S3C2440 kernel schematics
- 2022-09-05 04:05:03下载
- 积分:1