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
標(biāo)簽: different character the number
上傳時(shí)間: 2014-10-31
上傳用戶:aysyzxzm
實(shí)驗(yàn)源碼是2410完全開發(fā)用的,通過此源碼實(shí)驗(yàn)初學(xué)者可以一步步步入arm開發(fā)的殿堂。 源碼包括:led點(diǎn)亮、Key、stdio操作以及nand和sdram操作控制等。
標(biāo)簽: 2410 實(shí)驗(yàn) 源碼
上傳時(shí)間: 2016-02-14
上傳用戶:1051290259
進(jìn)行鍵盤掃描及鍵處理時(shí),在程序中直接調(diào)用函數(shù)KeyProcess()即可。鍵處理函數(shù)原 型聲明在頭文件Key.h中,鍵處理函數(shù)可放在程序的任何地方,一個(gè)按鍵對(duì)應(yīng)一個(gè)處理函 數(shù)。 該鍵盤掃描程序去抖動(dòng)為什么不需軟件延時(shí)?因?yàn)閺臒o按鍵到鍵被按下,要進(jìn)行兩次 掃描,此間相當(dāng)于延時(shí)去抖動(dòng)。 該鍵盤掃描程序還有一特色:用二維數(shù)組進(jìn)行按鍵功能處理,使程序更簡(jiǎn)單。 /*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ 矩陣鍵盤鍵值掃描,功能處理函數(shù) 本程序處理4*4的矩陣鍵盤,直接用于8051系列單片機(jī),也可移植到其它機(jī)型. 行輸出在P1口高四位 列輸入在P1口低四位,如果不同,則需修改鍵值讀取函數(shù) 即:GetKeyCode() 有10個(gè)數(shù)字鍵0--9,1個(gè)小數(shù)點(diǎn),1個(gè)負(fù)號(hào)鍵。 第二功能鍵和回車鍵共用一個(gè),如果連續(xù)按下該鍵2秒鐘,則鍵盤進(jìn)入第二功能。 在鍵盤初始化程序InitKeyboard中把ucKey1和ucKey2賦值0xff
標(biāo)簽: 鍵盤掃描
上傳時(shí)間: 2016-02-19
上傳用戶:二驅(qū)蚊器
進(jìn)行鍵盤掃描及鍵處理時(shí),在程序中直接調(diào)用函數(shù)KeyProcess()即可。鍵處理函數(shù)原 型聲明在頭文件Key.h中,鍵處理函數(shù)可放在程序的任何地方,一個(gè)按鍵對(duì)應(yīng)一個(gè)處理函 數(shù)。 該鍵盤掃描程序去抖動(dòng)為什么不需軟件延時(shí)?因?yàn)閺臒o按鍵到鍵被按下,要進(jìn)行兩次 掃描,此間相當(dāng)于延時(shí)去抖動(dòng)。 該鍵盤掃描程序還有一特色:用二維數(shù)組進(jìn)行按鍵功能處理,使程序更簡(jiǎn)單。 /*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ 矩陣鍵盤鍵值掃描,功能處理函數(shù) 本程序處理4*4的矩陣鍵盤,直接用于8051系列單片機(jī),也可移植到其它機(jī)型. 行輸出在P1口高四位 列輸入在P1口低四位,如果不同,則需修改鍵值讀取函數(shù) 即:GetKeyCode() 有10個(gè)數(shù)字鍵0--9,1個(gè)小數(shù)點(diǎn),1個(gè)負(fù)號(hào)鍵。 第二功能鍵和回車鍵共用一個(gè),如果連續(xù)按下該鍵2秒鐘,則鍵盤進(jìn)入第二功能。 在鍵盤初始化程序InitKeyboard中把ucKey1和ucKey2賦值0xff
標(biāo)簽: 鍵盤掃描
上傳時(shí)間: 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.
標(biāo)簽: INFORMATION DEVELOPERS KeyBOARD SOFTWARE
上傳時(shí)間: 2014-08-18
上傳用戶:ecooo
數(shù)據(jù)結(jié)構(gòu)(嚴(yán)慰敏)配套純c代碼實(shí)驗(yàn)十 typedef int InfoType // 定義其它數(shù)據(jù)項(xiàng)的類型 typedef int KeyType // 定義RedType類型的關(guān)鍵字為整型 struct RedType // 記錄類型(同c10-1.h) { KeyType Key // 關(guān)鍵字項(xiàng) InfoType otherinfo // 其它數(shù)據(jù)項(xiàng) } typedef char KeysType // 定義關(guān)鍵字類型為字符型 #include"c1.h" #include"c10-3.h" void InitList(SLList &L,RedType D[],int n) { // 初始化靜態(tài)鏈表L(把數(shù)組D中的數(shù)據(jù)存于L中) char c[MAX_NUM_OF_Key],c1[MAX_NUM_OF_Key] int i,j,max=D[0].Key //
標(biāo)簽: typedef int InfoType KeyType
上傳時(shí)間: 2016-03-03
上傳用戶:2404
// 工程名稱: 61_SpeechClock // 功能描述: 61板程序示例--具有語音播報(bào)功能的電子鐘 // 使用61板上的三個(gè)按鍵控制報(bào)時(shí)和時(shí)間調(diào)整: // Key1 - 按一下播報(bào)年、月、日,再按一下播報(bào)時(shí)、分 // 長(zhǎng)按Key1鍵達(dá)到1.5秒,則進(jìn)入日期時(shí)間調(diào)整模式 // Key2 - 在調(diào)整模式下,使年、月、日、時(shí)、分、秒增加 // Key3 - 在調(diào)整模式下,使年、月、日、時(shí)、分、秒減小 // 涉及的庫(kù): 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板自帶的三個(gè)按鍵已經(jīng)連接在IOA0~IOA2上 // 維護(hù)記錄: 2006-8-30 v1.0
標(biāo)簽: SpeechClock Key1 61 工程
上傳時(shí)間: 2016-03-07
上傳用戶:semi1981
IDEA v2.2 IDEA encryption for dos. IDEA stands for International Data Encryption Algorithm it was invented by Xuejia Lai and James Massey in Switzerland its a private Key block algorithm, and is thought to be very secure.
標(biāo)簽: IDEA International Encryption encryption
上傳時(shí)間: 2013-12-18
上傳用戶:gxf2016
完整的S語言詞法分析器, 包含文件說明: parser.cpp 詞法分析C++源碼 Scanner.exe 詞法分析程序 Key.txt 是關(guān)鍵字表 s.txt 測(cè)試源碼表 程序運(yùn)行生成: symble.txt 符號(hào)表 token.txt 單詞表
上傳時(shí)間: 2016-03-14
上傳用戶:it男一枚
In recent years, the UNIX operating system has seen a huge boost in its popularity, especially with the emergence of Linux. For programmers and users of UNIX, this comes as no surprise: UNIX was designed to provide an environment that s powerful yet easy to use. One of the main strengths of UNIX is that it comes with a large collection of standard programs. These programs perform a wide variety of tasks from listing your files to reading email. Unlike other operating systems, one of the Key features of UNIX is that these programs can be combined to perform complicated tasks and solve your problems. One of the most powerful standard programs available in UNIX is the shell. The shell is a program that provides you with a consistent and easy-to-use environment for executing programs in UNIX. If you have ever used a UNIX system, you have interacted with the shell.
標(biāo)簽: especially popularity operating recent
上傳時(shí)間: 2014-11-26
上傳用戶:gaojiao1999
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1