搜索资源列表
Text2
- #include<reg51.h>void delay(unsigned int z) //声明延时函数sbit beep=P2^7 void main()数{ while(1){ beep=0 //蜂鸣器响 delay(1) //调用1ms延时 beep=1 //蜂鸣器不响 delay(1) //调用1ms延时 }}void delay(unsigned int z)//1ms延时,通过z值改变延时{ unsigned int x for( z>0 z--)
delay
- 利用ST7定时器输出比较功能定时1ms,定义几个全局变量,做的一个延时比较准确的delay函数,输入1000,就是1000ms-by using ST7 timer OCMP function to define 1ms and created several global variable to get accurate delay function.
DelayTime
- delphi下的延时函数,使用gettickcount精确到1毫秒-delay time in delphi, User gettick count for 1ms
delay延时函数
- 用C语言编写,能够实现1秒,1毫秒精确延时(the program can delay 1s or 1ms with C.)
delay_1ms
- 51单片机1ms延时函数,可粗略延时1ms的时间(51 single chip microcomputer 1ms delay function)