乒乓游戏 ,led流水灯控制乒乓球,按键控制甲方已方操作。详细说明看readme
标签: 乒乓游戏
上传时间: 2014-12-03
上传用户:xiaoyunyun
使用硬件SPI接口与74HC595连接,控制74HC595驱动8个LED流水灯显示。
上传时间: 2013-12-12
上传用户:源码3
单片机例程:键盘控制,键盘控制,流水灯,数码管计数器,简单数字显示等
上传时间: 2013-12-24
上传用户:onewq
数字运算,判断一个数是否接近素数 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
源代码\用动态规划算法计算序列关系个数 用关系"<"和"="将3个数a,b,c依次序排列时,有13种不同的序列关系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要将n个数依序列,设计一个动态规划算法,计算出有多少种不同的序列关系, 要求算法只占用O(n),只耗时O(n*n).
上传时间: 2013-12-26
上传用户:siguazgb
c语言版的多项式曲线拟合。 用最小二乘法进行曲线拟合. 用p-1 次多项式进行拟合,p<= 10 x,y 的第0个域x[0],y[0],没有用,有效数据从x[1],y[1] 开始 nNodeNum,有效数据节点的个数。 b,为输出的多项式系数,b[i] 为b[i-1]次项。b[0],没有用。 b,有10个元素ok。
上传时间: 2014-01-12
上传用户:变形金刚
单片机实验例程,共有5种演示程序:LED流水灯、单片机演示警报声、数码管显示1-8、单片机驱动1602液晶、单片机唱歌,每一类程序分别有汇编和C51,共10个源程序,非常适合单片机初学者入门学习和参考!
标签: 单片机实验
上传时间: 2014-06-04
上传用户:sdq_123
s51单片机控制程序,流水灯,蜂鸣器,数码管,a/d,d/a转换等
上传时间: 2014-01-27
上传用户:dancnc
我在spartan-3e starter kit 的板上实现了mc8051,程序调试通过,运行正常。 方法 1、用Keil 编译8051的代码; 2、将生成的hex文件用hex->bin工具转成bin文件 3、用bin->coe工具转成coe 4、在core generate 生成的rom中指明coe文件的位置 5、编译、下载到spartan-3e starter kit 板上,你将会看到流水灯的效果 我正在做这方面的东西,欢迎大家与我一起探讨。
上传时间: 2013-12-09
上传用户:源码3
很好的dsp开发程序,流水灯实验,CCS3.3下调试通过
上传时间: 2015-12-05
上传用户:tedo811