设炉温变化范围为0-100º C,相应电压为0-5V。要求:每隔30秒钟采集一次温度数据,并将采集的数据送七段段码显示(十进制)。采集到的炉温在40º C-60º C是正常,其他为不正常。不正常时要求通过蜂鸣器报警,报警时间为2秒,用查询方式读取数据。
上传时间: 2014-01-01
上传用户:lingzhichao
电子书:C#完全手册,详细介绍C#语言。C#基础学习必备
上传时间: 2013-12-21
上传用户:李彦东
标准C编写,用于C 环境中的输入口令加密,简单图形有效
上传时间: 2013-12-11
上传用户:manlian
经典的C资料,学习C语言必看的经典书籍,英文原版
标签:
上传时间: 2014-01-25
上传用户:l254587896
数字运算,判断一个数是否接近素数 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上传时间: 2015-05-21
上传用户:daguda
北大老师写的C++讲义,适合C++初学者,可以作为入门参考
标签: 讲义
上传时间: 2014-02-06
上传用户:tzl1975
我的数字信号处理 作业。FFT的C语言实现。运行时将2个c文件放在同一目录,运行draw.c。最好Turbo.c 如用VC运行,把头文件改下,很容易的
上传时间: 2014-11-29
上传用户:qweqweqwe
一本非常经典的C++书籍,学习c++的人应该都看看此书
标签: 书籍
上传时间: 2014-01-13
上传用户:xz85592677
里面是一一本关于C#的手册,C#handbook
标签:
上传时间: 2015-07-21
上传用户:skhlm
effective c sharp 50 specific ways to improve your c sharp,关于C#学习的英文版书籍,质量不错
标签: sharp effective specific improve
上传时间: 2015-08-17
上传用户:秦莞尔w