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

精确<b>延时</b>

  • 数字运算

    数字运算,判断一个数是否接近素数 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

  • GSM 6.10语音压缩算法

    GSM 6.10语音压缩算法,点对点之间语音通信声音清晰,音质优良,延时小,使用简单

    标签: 6.10 GSM 语音压缩 算法

    上传时间: 2015-05-25

    上传用户:远远ssad

  • 说明: 此演示程序包含六个任务: softclock 软时钟任务 task1 向端口2的每个管脚输出方波的任务 task2 向端口3的每个管脚输出方波的任务 task3 向端口

    说明: 此演示程序包含六个任务: softclock 软时钟任务 task1 向端口2的每个管脚输出方波的任务 task2 向端口3的每个管脚输出方波的任务 task3 向端口4的每个管脚输出方波的任务 task4 向端口5的每个管脚输出方波的任务 taskled 点亮P1.0上指示灯的任务 6个任务,加上M430/OS的空闲任务,共7个任务,系统开辟了6块堆栈,空闲任务使用main程序的堆栈,空闲任务不保存现场。每块堆栈的大小可以不同。 软时钟任务利用M430/OS的多任务延时模拟了一个有年、月、日、时、分、秒的时钟,并且可以日期 时间格式为BCD格式或10进制格式。 此程序可以直接在MSP430F149的仿真头上运行 程序空间、数据空间都由编译器自动分配。

    标签: softclock task1 task2 task3

    上传时间: 2013-12-21

    上传用户:liglechongchong

  • 利用取表的方法

    利用取表的方法,使端口 P1 做单一灯的变化:左移 2 次,右移 2 次,闪烁 2 次(延时的时间 0.2 秒)。

    标签:

    上传时间: 2014-01-16

    上传用户:金宜

  • ucosii移植到44b0的代码

    ucosii移植到44b0的代码,添加了对多任务延时切换的支持,sdt下使用

    标签: ucosii 44b0 移植 代码

    上传时间: 2013-12-24

    上传用户:四只眼

  • lcd汇编程序

    lcd汇编程序,可以看到驱动程序 有延时 测试 初始化的功能

    标签: lcd 汇编程序

    上传时间: 2015-06-11

    上传用户:xjz632

  • 键盘接口的CX51驱动程序。程序由主函数

    键盘接口的CX51驱动程序。程序由主函数,读键盘函数和延时函数组成

    标签: CX 51 键盘接口 程序

    上传时间: 2015-06-14

    上传用户:一诺88

  • c语言版的多项式曲线拟合。 用最小二乘法进行曲线拟合. 用p-1 次多项式进行拟合

    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。

    标签: 多项式 曲线拟合 c语言 最小二乘法

    上传时间: 2014-01-12

    上传用户:变形金刚

  • 基于51的圈圈操作系统(51_00_OS)出来拉…… 来这里下载整个程序包: http://blog.21ic.com/more.asp?name=computer00&id=9501

    基于51的圈圈操作系统(51_00_OS)出来拉…… 来这里下载整个程序包: http://blog.21ic.com/more.asp?name=computer00&id=9501 *************基于51内核的圈圈操作系统**************** 说明:这是圈圈在学习嵌入式操作系统后在51上写的一个简单的操作系统,提供创建任务,删除任务,任务调度,系统延时,任务挂起,发送消息,等待消息,CPU使用率统计,系统时间,串口发送、接收数据及串口资源管理等功能。由于时间匆忙,部分注释可能在调试时忘记更改,如有发现不能理解的注释,请给圈圈留言: http://blog.21ic.com/blog.asp?name=computer00 可使用keil自带的软件仿真,也可以使用硬件来运行,使用硬件时,上位机推荐使用windows自带的超级终端,关于超级终端的使用,可参看: http://blog.21ic.com/more.asp?name=iC921&id=8878

    标签: computer 00 9501 http

    上传时间: 2015-06-16

    上传用户:zhaiye

  • 慢慢画的房子

    慢慢画的房子,本来这个房子会瞬间画完,可是这样不利于欣赏,所以就加上了延时。

    标签:

    上传时间: 2014-12-21

    上传用户:330402686