此題目是通過鍵盤來實現密碼輸入是否正確,正確的時候數碼管亮,否則發出報警聲。 判斷是按鍵還是干擾是非常有用的,它體現了一個系統的抗干擾能力。高低電平在瞬間的變換是很正常的,如果沒有這條語句,系統很容易出錯。 其中2秒是由定時器0來完成的。 在程序的定時器中斷中,用switch代替了if else結構,使得程序的可讀性大大增強。 TH0 = (65536-50000) / 256 TL0 = (65536-50000) 256 使得TH0 = 3CH, TL0 = B0H,由于該單片機的晶振為12MHz 因此定時時間就為0.05ms.在定時器中斷服務程序中用FLASH計數,當計數達到40時正好是2秒。
上傳時間: 2014-01-21
上傳用戶:caozhizhi
Because WDM networks are circuit switched loss networks blocking may occur because of lack of resources. Also in circuit switched networks many paths use the same links. This toolbox answers the question how different paths with different loads influence on each other and what is the blocking on each of the defined path. Toolbox is capable of computing blocking for three different WDM network types: with no wavelength conversion, with full wavelength conversion and with limited range wavelength conversion. It is worth noting that case for full conversion can be usefull for any circuit switched network without additional constraints (i.e. wavelength continuity constraint in WDM), for example telephone network. Toolbox contains also scripts for defining network structures (random networks, user defined networks) and traffic matrixes. Three graph algorithms for shortest path computation are also in this toolbox (they are used for traffic matrix creation).
標簽: networks blocking switched Because
上傳時間: 2017-07-28
上傳用戶:zhangzhenyu
面向對象的可視化建模培訓教程 [UML和Rational Rose/C++ Ver 4.x] 簡介 ROSE提供的不同視圖 配置用戶界面 問題描述 問題需求描述 Use Cases 建立Actors ,Use Case 和Use Case 圖 建立序列圖 建立協同圖 包和類 建立類、包和模版 重新分配類和包 建立類圖
上傳時間: 2017-07-31
上傳用戶:z754970244
矩陣鍵盤程序,主要教會初學者練習switch語句,同時練習條件語句,用于鍵盤掃描
標簽: 矩陣鍵盤程序
上傳時間: 2014-01-24
上傳用戶:wanqunsheng
視頻質料 在matlab環境中如何使用radiobutton,switch語句,邊緣檢測
標簽: radiobutton matlab 視頻 環境
上傳時間: 2017-08-15
上傳用戶:thesk123
These documents are all classic documents relating to the domain of virus writing.Give a good insight about the virus which are rare and are considered best for case studies..many variants are still being produced and all these are original.Its very hard to find them now adays..these are extremely helpfull for people working in Malware analysis and malicious code analysis
標簽: documents relating classic writing
上傳時間: 2017-08-18
上傳用戶:thuyenvinh
C++ is a programming language. It is a programming language of many different dialects, just like each language that is spoken has many dialects. In C though, they are not because the "speakers" live in the North, South, or grew up in some other place, it is because there are so many compilers. There are about four major ones: Borland C++, Microsoft Visual C++, Watcom C/386, and DJGPP. You can download DJGPP http://www.delorie.com/djgpp/ or you may already have another compiler. Each of these compilers is a little different. The library functions of one will have all of the standard C++ functions, but they will also have other functions or, continuing the analogy, words. At times, this can lead to confusion, as certain programs will only run under certain compilers, though I do not believe this to be the case with the programs in these tutorials.
標簽: programming language different dialects
上傳時間: 2014-01-17
上傳用戶:lz4v4
Implementation of Edmonds Karp algorithm that calculates maxFlow of graph. Input: For each test case, the first line contains the number of vertices (n) and the number of arcs (m). Then, there exist m lines, one for each arc (source vertex, ending vertex and arc weight, separated by a space). The nodes are numbered from 1 to n. The node 1 and node n should be in different sets. There are no more than 30 arcs and 15 nodes. The arc weights vary between 1 and 1 000 000. Output: The output is a single line for each case, with the corresponding minimum size cut. Example: Input: 7 11 1 2 3 1 4 3 2 3 4 3 1 3 3 4 1 3 5 2 4 6 6 4 5 2 5 2 1 5 7 1 6 7 9 Output: 5
標簽: Implementation calculates algorithm Edmonds
上傳時間: 2014-01-04
上傳用戶:kiklkook
Abstract-In this paper, simple autonomous chaotic circuits coupled by resistors are investigated. By carrying out computer calculations and circuit experiments, irregular self-switching phenomenon of three spatial patterns characterized by the phase states of quasi-synchronization of chaos can be observed from only four simple chaotic circuits. This is the same phenomenon as chaotic wandering of spatial patterns observed very often from systems with a large number of degrees of freedom. Namely, one of spatial-temporal chaos observed from systems of large size can be also generated in the proposed system consisting of only four chaotic circuits. A six subcircuits case and a coupled chaotic circuits networks are also studied, and such systems are confirmed to produce more complicated spatio-temporal phenomena.
標簽: investigated Abstract-In autonomous resistors
上傳時間: 2014-06-09
上傳用戶:h886166
switch power China IC, powerful and low cost
上傳時間: 2015-09-29
上傳用戶:dxj1900