虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

SWITCH-case

  • 此题目是通过键盘来实现密码输入是否正确

    此题目是通过键盘来实现密码输入是否正确,正确的时候数码管亮,否则发出报警声。 判断是按键还是干扰是非常有用的,它体现了一个系统的抗干扰能力。高低电平在瞬间的变换是很正常的,如果没有这条语句,系统很容易出错。 其中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 resour

    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 建

    面向对象的可视化建模培训教程 [UML和Rational Rose/C++ Ver 4.x] 简介 ROSE提供的不同视图 配置用户界面 问题描述 问题需求描述 Use Cases 建立Actors ,Use Case 和Use Case 图 建立序列图 建立协同图 包和类 建立类、包和模版 重新分配类和包 建立类图

    标签: Rational Cases ROSE Rose

    上传时间: 2017-07-31

    上传用户:z754970244

  • 矩阵键盘程序

    矩阵键盘程序,主要教会初学者练习switch语句,同时练习条件语句,用于键盘扫描

    标签: 矩阵键盘程序

    上传时间: 2014-01-24

    上传用户:wanqunsheng

  • 视频质料 在matlab环境中如何使用radiobutton

    视频质料 在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 insigh

    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

    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 c

    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. B

    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

  • datasheet of IC

    switch power China IC, powerful and low cost

    标签: switch power design

    上传时间: 2015-09-29

    上传用户:dxj1900