280行的高效代码,通过命令行实现了仿射算法的加密解密,随即或自定义KEY等功能
上传时间: 2013-12-21
上传用户:athjac
when enter different number from 1 to 8 the litte character on the screen can make different activities accompanied by 8 different voice! and the program will terminated when you press the "enter " key
标签: different character the number
上传时间: 2014-10-31
上传用户:aysyzxzm
实验源码是2410完全开发用的,通过此源码实验初学者可以一步步步入arm开发的殿堂。 源码包括:led点亮、key、stdio操作以及nand和sdram操作控制等。
上传时间: 2016-02-14
上传用户:1051290259
进行键盘扫描及键处理时,在程序中直接调用函数KeyProcess()即可。键处理函数原 型声明在头文件Key.h中,键处理函数可放在程序的任何地方,一个按键对应一个处理函 数。 该键盘扫描程序去抖动为什么不需软件延时?因为从无按键到键被按下,要进行两次 扫描,此间相当于延时去抖动。 该键盘扫描程序还有一特色:用二维数组进行按键功能处理,使程序更简单。 /*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ 矩阵键盘键值扫描,功能处理函数 本程序处理4*4的矩阵键盘,直接用于8051系列单片机,也可移植到其它机型. 行输出在P1口高四位 列输入在P1口低四位,如果不同,则需修改键值读取函数 即:GetKeyCode() 有10个数字键0--9,1个小数点,1个负号键。 第二功能键和回车键共用一个,如果连续按下该键2秒钟,则键盘进入第二功能。 在键盘初始化程序InitKeyboard中把ucKey1和ucKey2赋值0xff
标签: 键盘扫描
上传时间: 2016-02-19
上传用户:二驱蚊器
进行键盘扫描及键处理时,在程序中直接调用函数KeyProcess()即可。键处理函数原 型声明在头文件Key.h中,键处理函数可放在程序的任何地方,一个按键对应一个处理函 数。 该键盘扫描程序去抖动为什么不需软件延时?因为从无按键到键被按下,要进行两次 扫描,此间相当于延时去抖动。 该键盘扫描程序还有一特色:用二维数组进行按键功能处理,使程序更简单。 /*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ 矩阵键盘键值扫描,功能处理函数 本程序处理4*4的矩阵键盘,直接用于8051系列单片机,也可移植到其它机型. 行输出在P1口高四位 列输入在P1口低四位,如果不同,则需修改键值读取函数 即:GetKeyCode() 有10个数字键0--9,1个小数点,1个负号键。 第二功能键和回车键共用一个,如果连续按下该键2秒钟,则键盘进入第二功能。 在键盘初始化程序InitKeyboard中把ucKey1和ucKey2赋值0xff
标签: 键盘扫描
上传时间: 2013-12-21
上传用户:dreamboy36
=== === === === === === === === === === ==== IBM PC KEYBOARD INFORMATION FOR SOFTWARE DEVELOPERS ================================================================ Sources: PORTS.A of Ralf Brown s interrupt list collection repairfaq.org keyboard FAQ(doesn t appear to exsist) Linux source code Test hardware: New Samsung KB3T001SAXAA 104-key keyboard Old Maxi 2186035-00-21 101-key keyboard NO WARRANTY. NO GUARANTEE. I have tried to make this information accurate. I don t know if I succeeded. Corrections or additional information would be welcome. This is a plain-text document. If you use a word-processor to view it, use a fixed-pitch font (like Courier) so columnar data and ASCII art lines up properly.
标签: INFORMATION DEVELOPERS KEYBOARD SOFTWARE
上传时间: 2014-08-18
上传用户:ecooo
数据结构(严慰敏)配套纯c代码实验十 typedef int InfoType // 定义其它数据项的类型 typedef int KeyType // 定义RedType类型的关键字为整型 struct RedType // 记录类型(同c10-1.h) { KeyType key // 关键字项 InfoType otherinfo // 其它数据项 } typedef char KeysType // 定义关键字类型为字符型 #include"c1.h" #include"c10-3.h" void InitList(SLList &L,RedType D[],int n) { // 初始化静态链表L(把数组D中的数据存于L中) char c[MAX_NUM_OF_KEY],c1[MAX_NUM_OF_KEY] int i,j,max=D[0].key //
标签: typedef int InfoType KeyType
上传时间: 2016-03-03
上传用户:2404
// 工程名称: 61_SpeechClock // 功能描述: 61板程序示例--具有语音播报功能的电子钟 // 使用61板上的三个按键控制报时和时间调整: // Key1 - 按一下播报年、月、日,再按一下播报时、分 // 长按Key1键达到1.5秒,则进入日期时间调整模式 // Key2 - 在调整模式下,使年、月、日、时、分、秒增加 // Key3 - 在调整模式下,使年、月、日、时、分、秒减小 // 涉及的库: CMacro1016.lib // SacmV26e.lib // 组成文件: main.c, Sound.c, Clock.c, Clock_Speech.c, Clock_Adjust.c // Key.asm, hardware.asm, ISR.asm // A2000.h, Sound.h, Clock.h, Clock_Speech.h, Clock_Adjust.h, Key.h, SPCE061A.h, // 硬件连接: 61板自带的三个按键已经连接在IOA0~IOA2上 // 维护记录: 2006-8-30 v1.0
标签: SpeechClock Key1 61 工程
上传时间: 2016-03-07
上传用户:semi1981
class Time { public: Time(int =0,int =0,int =0) void setTime(int,int,int) void printMilitary() void printStandard() private: int hour int minute int second }
标签: int Time void printMilita
上传时间: 2013-12-20
上传用户:hwl453472107
完整的S语言词法分析器, 包含文件说明: parser.cpp 词法分析C++源码 Scanner.exe 词法分析程序 key.txt 是关键字表 s.txt 测试源码表 程序运行生成: symble.txt 符号表 token.txt 单词表
上传时间: 2016-03-14
上传用户:it男一枚