這個(gè)例子如果運(yùn)行,將在仿真的PC窗口中的第1,2,3行顯示一些信息后,在隨機(jī)位置顯示 1 ~ 5 .由于keil c51默認(rèn)不支持重入函數(shù),它的重入函數(shù)使用仿真的重入棧而不使用系統(tǒng)棧,而Small RTOS 51沒有進(jìn)行重入棧管理,所以在TaskA~TaskE雖然及其相似,但不能合并. 注意:(1)在KEIL C51 工程中,我已經(jīng)把輸出文件目錄設(shè)在e:\temp中,您可以在Project->Options for Target "Target 1"的output頁點(diǎn)擊Select Folder for Objects...和Listing頁點(diǎn)擊Select Folder for Listing...改變. (2)編譯時(shí)會有5個(gè)警告,其中一個(gè)是因?yàn)闆]有使用一個(gè)系統(tǒng)函數(shù)OSSendSignal引起,它可以忽略.另4個(gè)是禁止任務(wù)間變量覆蓋分析引起,必須忽略.感謝網(wǎng)友John X. Liu,在這個(gè)例子中我使用了他編寫的仿真(dllPc51Emu.dll),這個(gè)dll原來是為他移植的Ucos-ii for keil c51的例子編寫. (3)Pc51Emu.dll在KEIL C51 V6.23 V7.00工作不正常.
上傳時(shí)間: 2015-05-29
上傳用戶:無聊來刷下
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
上傳時(shí)間: 2015-06-09
上傳用戶:weixiao99
HanNuota a simple small game can automatically display process.
標(biāo)簽: automatically HanNuota display process
上傳時(shí)間: 2015-06-09
上傳用戶:Thuan
藍(lán)牙協(xié)議軟件的結(jié)構(gòu)、移植與應(yīng)用. 本文以Extended Systems公司的藍(lán)牙協(xié)議棧產(chǎn)品XTNDAccess Blue SDK為例介紹了藍(lán)牙協(xié)議軟件的設(shè)計(jì)原理,協(xié)議棧結(jié)構(gòu),移植過程,及應(yīng)用的開發(fā)方法。
標(biāo)簽: XTNDAccess Extended Systems Blue
上傳時(shí)間: 2013-12-31
上傳用戶:qiaoyue
small RTOS 嵌入式實(shí)時(shí)多任務(wù)開發(fā),無線發(fā)送程序
標(biāo)簽: small RTOS 嵌入式 實(shí)時(shí)多任務(wù)
上傳時(shí)間: 2013-12-08
上傳用戶:520
blue tooth 核心協(xié)議棧在linux上的實(shí)現(xiàn)
上傳時(shí)間: 2015-06-14
上傳用戶:sammi
sdcc的win版本.是small device c compiler的意思.支持8051和z80.是一個(gè)遵循GPL的軟件,不過他的庫函數(shù)是LGPL的,允許商業(yè)聯(lián)結(jié),可以用在自己的軟件里
標(biāo)簽: compiler device small sdcc
上傳時(shí)間: 2013-11-28
上傳用戶:lanhuaying
周立功的工程師 陳明計(jì) 對Small RTOS的移植代碼
上傳時(shí)間: 2015-06-21
上傳用戶:thinode
Small RTOS的Serial程序,再做點(diǎn)修改,就可以做modbus的程序了!
標(biāo)簽: Serial Small RTOS 程序
上傳時(shí)間: 2015-07-01
上傳用戶:agent
Small RTOSv1.12.x 下dp-51例子, 包括完整的原程序和說明
上傳時(shí)間: 2014-01-03
上傳用戶:zhaiyanzhong
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1