A方向和B方向各設(shè)紅(R)、黃(Y)、綠(G)和左拐(L)4盞燈,4種燈按合理的順序亮滅,并將時(shí)間以倒計(jì)時(shí)的形式顯示出來。同時(shí)要設(shè)置兩個(gè)方向的緊急通道模式,當(dāng)某一方向有緊急事件發(fā)生時(shí),交警按下緊急通道按鈕,該方向綠燈亮,另外一個(gè)方向紅燈亮,等緊急事件解除后(假定計(jì)時(shí)10s),交通恢復(fù)原來的狀態(tài) 要求在數(shù)碼管上顯示兩個(gè)方向的燈種和計(jì)時(shí),實(shí)現(xiàn)緊急情況按鈕輸入功能 根據(jù)交通燈控制要實(shí)現(xiàn)的功能,可考慮用兩個(gè)并行執(zhí)行的always模塊(兩個(gè)進(jìn)程)來分別控制A和B兩個(gè)方向的4盞燈。這兩個(gè)always模塊使用同一個(gè)時(shí)鐘信號(hào),以進(jìn)行同步,也就是說,兩個(gè)進(jìn)程的敏感信號(hào)時(shí)同一個(gè) 每個(gè)always模塊控制一個(gè)方向的4種燈按如下順序點(diǎn)亮,并往復(fù)循環(huán):綠燈-黃燈-左拐燈-黃燈-紅燈,燈亮的時(shí)間由自己設(shè)定 由于板上資源有限,如覺得實(shí)現(xiàn)困難,可去掉左拐燈,即順序?yàn)榫G燈-黃燈-紅燈。
標(biāo)簽: 方向
上傳時(shí)間: 2016-10-07
上傳用戶:CHINA526
A) 實(shí)現(xiàn)虛擬存儲(chǔ)B) 實(shí)現(xiàn)對(duì)文件的按名存取C) 實(shí)現(xiàn)對(duì)文件的按內(nèi)容存取D) 實(shí)現(xiàn)對(duì)文件的 高速輸入輸出(17) 分頁顯示當(dāng)前文件 ... A) 執(zhí)行SPLIB B) 執(zhí)行SPDOS C) 裝載拼音模塊D) 裝載五筆字型輸入模塊(32) 在漢字輸入狀態(tài)下,按下Shift+a組合鍵后,輸入了__。
上傳時(shí)間: 2013-12-23
上傳用戶:zhoujunzhen
A.執(zhí)行SPLIB B.執(zhí)行SPDOS C.裝載拼音模塊D.裝載五筆字型輸入模塊32.在漢字輸入狀態(tài)下, 按下Shift+A組合鍵后,輸入了_______。 ... A.按原代碼方式B.按指定字體C.按標(biāo)準(zhǔn)方式D. 按分欄方式41.FoxBASE啟動(dòng)后,在圓點(diǎn)"."提示符下,執(zhí)行命令文件MAIN.
上傳時(shí)間: 2015-04-02
上傳用戶:極客
DataBase keeping program explaining with a sample program a) Ranking Database. b) Library keeping. c) Record Keeping.
標(biāo)簽: keeping program explaining DataBase
上傳時(shí)間: 2015-04-16
上傳用戶:sclyutian
his folder contains the following files: 1. 02490rxP802-15_SG3a-Channel-Modeling-Subcommittee-Report-Final.doc: This is the final report of the channel modeling sub-committee. 2. cmx_imr.csv (x=1, 2, 3, and 4) represent the files containing the actual 100 channel realizations for CM1, CM2, CM3, and CM4. The columns are organized as (time, amp, time, amp,...) 3. cmx_imr_np.csv (x=1, 2, 3, and 4) represent the files containing the number of paths in each of the 100 multipath realizations. 4. cmx_imr.mat (x=1, 2, 3, and 4) are the .mat files that can be loaded directly into Matlab (TM). 5. *.m files are the Matlab (TM) files used to generate the various channel realizations.
標(biāo)簽: a-Channel-Modeling-Subcommittee-R following contains folder
上傳時(shí)間: 2013-12-21
上傳用戶:hxy200501
* 高斯列主元素消去法求解矩陣方程AX=B,其中A是N*N的矩陣,B是N*M矩陣 * 輸入: n----方陣A的行數(shù) * a----矩陣A * m----矩陣B的列數(shù) * b----矩陣B * 輸出: det----矩陣A的行列式值 * a----A消元后的上三角矩陣 * b----矩陣方程的解X
上傳時(shí)間: 2015-07-26
上傳用戶:xauthu
This project attempts to implement a Database using B+Tree. The project has developed a DATABASE SYSTEM with lesser memory consumption. Its API includes simple SQL Statements and the output is displayed on the screen. Certain applications for which several features of existing databases like concurrency control, transaction management, security features are not enabled. B+Trees can be used as an index for factor access to the data. Help facility is provided to know the syntax of SQL Statements.
標(biāo)簽: project implement developed Database
上傳時(shí)間: 2013-12-25
上傳用戶:semi1981
一個(gè)旅行家想駕駛汽車從城市A到城市B(設(shè)出發(fā)時(shí)油箱是空的)。給定兩個(gè)城市之間的距離dis、汽車油箱的容量c、每升汽油能行駛的距離d、沿途油站數(shù)n、油站i離出發(fā)點(diǎn)的距離d[i]以及該站每升汽油的價(jià)格p[i],i=1,2,…,n。設(shè)d[1]=0<d[2]<…<d[n]。要花最少的油費(fèi)從城市A到城市B,在每個(gè)加油站應(yīng)加多少油,最少花費(fèi)為多少?
上傳時(shí)間: 2013-12-31
上傳用戶:redmoons
代入法的啟發(fā)示搜索 我的代碼實(shí)現(xiàn)是:按照自然語言各字母出現(xiàn)頻率的大小從高到低(已經(jīng)有人作國統(tǒng)計(jì)分析了)先生成一張字母出現(xiàn)頻率統(tǒng)計(jì)表(A)--------(e),(t,a,o,i,n,s,h,r),(d,l),(c,u,m,w,f,g,y,p,b),(v,k,j,x,q,z) ,再對(duì)密文字母計(jì)算頻率,并按頻率從高到低生成一張輸入密文字母的統(tǒng)計(jì)表(B),通過兩張表的對(duì)應(yīng)關(guān)系,不斷用A中的字母去替換B中的字母,搜索不成功時(shí)就回退,在這里回朔是一個(gè)關(guān)鍵。
上傳時(shí)間: 2015-10-24
上傳用戶:wanqunsheng
文法如下: (1)S->aAcBe (2)A->b (3)A->Ab (4)B->d 關(guān)於lr0的語法分析
上傳時(shí)間: 2015-11-22
上傳用戶:thinode
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1