5 ledblink -- 跑馬燈程序 該項目在SDT2.51下編譯調(diào)試。最簡單的demo程序,運(yùn)行后3個發(fā)光二極管輪流點(diǎn)亮。 6 timerint -- 定時器中斷demo程序 該項目在SDT2.51下編譯調(diào)試。將子目錄timerint拷貝到c:\ 下。 該demo程序的主程序是while空循環(huán),定時器中斷服務(wù)程序每500ms將3個LED反相。 在57600超級終端里也可以看到中斷發(fā)生時的信息。 7 uart -- 串口測試程序 該項目在SDT2.51下編譯調(diào)試。運(yùn)行后在57600的超級終端里等待PC鍵盤的輸入,當(dāng)按下 a 或 b 或 c 按鍵時,超級終端里將顯示 You Pressed a ,You Pressed b ,You Pressed c .
標(biāo)簽: ledblink 2.51 demo SDT
上傳時間: 2015-05-05
上傳用戶:aix008
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition
標(biāo)簽: government streamline important alphabet
上傳時間: 2015-06-09
上傳用戶:weixiao99
上下文無關(guān)文法(Context-Free Grammar, CFG)是一個4元組G=(V, T, S, P),其中,V和T是不相交的有限集,S∈V,P是一組有限的產(chǎn)生式規(guī)則集,形如A→α,其中A∈V,且α∈(V∪T)*。V的元素稱為非終結(jié)符,T的元素稱為終結(jié)符,S是一個特殊的非終結(jié)符,稱為文法開始符。 設(shè)G=(V, T, S, P)是一個CFG,則G產(chǎn)生的語言是所有可由G產(chǎn)生的字符串組成的集合,即L(G)={x∈T* | Sx}。一個語言L是上下文無關(guān)語言(Context-Free Language, CFL),當(dāng)且僅當(dāng)存在一個CFG G,使得L=L(G)。 *⇒ 例如,設(shè)文法G:S→AB A→aA|a B→bB|b 則L(G)={a^nb^m | n,m>=1} 其中非終結(jié)符都是大寫字母,開始符都是S,終結(jié)符都是小寫字母。
標(biāo)簽: Context-Free Grammar CFG
上傳時間: 2013-12-10
上傳用戶:gaojiao1999
“網(wǎng)絡(luò)基本輸入/輸出系統(tǒng)”(Network Basic Input/Output System, NetBIOS)是一種標(biāo)準(zhǔn)的應(yīng)用程序編程接口( A P I),1 9 8 3年由S y t e k公司專為I B M開發(fā)成功)
標(biāo)簽: Network NetBIOS Output System
上傳時間: 2015-12-09
上傳用戶:wanghui2438
免費(fèi)的Office控件,可以應(yīng)用于B/S和C/S程序,實現(xiàn)完美內(nèi)嵌office
上傳時間: 2013-12-28
上傳用戶:gtzj
【實驗名稱】遞歸子程序分析器的設(shè)計與實現(xiàn) 【實驗?zāi)康暮鸵蟆? 設(shè)計、編制,調(diào)試一個典型的語法分析程序,實現(xiàn)對如下的遞歸子程序語法的分析,進(jìn)一步掌握常用的語法分析方法。 【實驗內(nèi)容】 ① 本分析程序所分析的文法如下: G[E]: E->eBaA A->a|bAcB B->dEd|aC C->e|dC ② 針對上述文法編寫一遞歸子程序分析程序,該程序的輸入是任意符號串,輸出是本次輸入的符號串是否是該文法的句子的結(jié)論。 【環(huán)境】 Windows Pc 機(jī),任何版本的c語言 其中還包括java語言實現(xiàn)的程序
上傳時間: 2013-12-25
上傳用戶:lanhuaying
2. 進(jìn)入程序后,即會顯示提示用戶是否需要創(chuàng)建魔王詞匯,選擇y則用戶自己創(chuàng)建魔王詞匯,選擇n則使用默認(rèn)的魔王詞匯為:默認(rèn)的魔王詞匯(只有A=sae,B=tAdA,C=sce,D=sde)之后會有相關(guān)的作者信息。下面就提示用戶輸入魔王語句,輸入完后就會輸出翻譯后的魔王語句。
標(biāo)簽: 程序
上傳時間: 2016-08-17
上傳用戶:hoperingcong
利用偉福 Lab2000P單片機(jī)實驗儀上提供的顯示電路和鍵盤電路,做一個簡單的計算器。用十六進(jìn)制A鍵 =‘+’、B鍵 =‘-’、C鍵 = ‘x’、D鍵 = ‘/’、E鍵 = ‘=’、F鍵 = ‘C’。
標(biāo)簽: 2000P 2000 Lab 單片機(jī)
上傳時間: 2016-08-22
上傳用戶:ukuk
trustlink的開發(fā)指南,詳細(xì)列出b/s與c/s模式指紋開發(fā)的特點(diǎn)
上傳時間: 2013-12-17
上傳用戶:l254587896
made by: kangkai data:2008.11.23 this one is used to test arm7 str71x. use a led to test GPIO. a---------P0.0 b---------P0.1 c---------P0.2 d---------P0.3 e---------P0.4 f---------P0.5 g---------P0.6 just run it and you will see the led to show 0-9 all the time.
標(biāo)簽: test kangkai made 2008
上傳時間: 2016-12-16
上傳用戶:moerwang
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1