-
visual development tools such as Visual C++, Delphi, C++ Builder and others all...
虽然Windows下可视化开发工具如VC、Delphi、C++ Builder等都有专用的定时器控件Timer,而且使用很方便,可以实现一定的定时功能,但最小计时精度仅为55ms,且定时器消息在多任务操作系统中的优先级很低,不能得到及时响应,往往不能满足实时控制环境下的应用。不过Microsoft公司在Win32 API函数库中已经为用户提供了一组用于高精度计时的底层函数,如果用户使用得当,计时精度可到1ms。这个计时精度、对于一般的实时系统控制完全可以满足要求。现将由C++ Builder 4.0提供的重新封装后的一组与时间相关的主要接口函数(函数名、参数、功能与Win32 API基本相同)说明如下:
-visual development tools such as Visual C++, Delphi, C++ Builder and others all have dedicated Timer timer control, but it is convenient. can achieve a timing function, but only the minimum time of 55 ms accuracy. Timer news and multi-task operating system in the low priority that is not to respond in a timely manner, often fail to meet the real-time control environment applications. However, Microsoft Corporation in the Win32 API function has been to provide the user with a group for high-precision the bottom was a time function, if the user is properly utilized, time accuracy can be a ms. Accuracy this time, and for most of the real-time control system can meet the requirements.
- 2022-02-11 22:11:49下载
- 积分:1
-
2psk case simulation, matlab environment. Not own, and perhaps a bit useful for...
2psk仿真的案例,matlab环境下的。不是自己编的,可能对初学者有点用处-2psk case simulation, matlab environment. Not own, and perhaps a bit useful for beginners
- 2022-01-26 00:10:04下载
- 积分:1
-
银行呼号系统设计
资源描述#include
#define uchar unsigned char //宏定义
#define uint unsigned int //宏定义
sbit rs=P2^0;
sbit e=P2^1;
sbit key1=P2^2; //四个服务人员的按键
sbit key2=P2^3;
sbit key3=P2^4;
sbit key4=P2^5;
sbit shengyinled=P2^6; //模拟声音
sbit fuwuled=P2^7;
uchar hao[50]="0"; //存储当前需要服务的号码
uchar j=0; // 号码的个数
uchar *quhao=hao;
uchar key=0; //按键值
uchar code table[]="0123456789";
uchar code table1[]="Welcome!";
uchar code table2[]="No.0000->0hao";//用于液晶初始化显示
void delay(uchar z) //延时函数
{
uchar i,j;
for(i=z;i>0;i--)
for(j=110;j>0;j--);
}
void wr
- 2022-02-22 09:46:21下载
- 积分:1
-
STM32F103 ADC驱动程序
网上找的 来源不知道了 无法公布 为了共享 希望作者能够原谅啊
- 2023-08-31 08:25:03下载
- 积分:1
-
which will be a serial SMS
能过串口中短信发送-which will be a serial SMS
- 2023-06-18 03:40:03下载
- 积分:1
-
发送UDP的源代码
发送UDP的源代码-send UDP source code
- 2022-06-12 00:14:23下载
- 积分:1
-
c#即时通讯 源码
请各位高手多指点
。。。。。。。。。。。。。。。。。...
c#即时通讯 源码
请各位高手多指点
。。。。。。。。。。。。。。。。。
-IM source requested more guidance to master. . . . . . . . . . . . . . . . .
- 2022-02-21 18:42:07下载
- 积分:1
-
TI公司的Tusb3210系列芯片串口调试源码,可以直接通过串口发送字符、字符串、十六进制字符等。
TI公司的Tusb3210系列芯片串口调试源码,可以直接通过串口发送字符、字符串、十六进制字符等。-TI
- 2022-12-05 15:50:03下载
- 积分:1
-
一篇关于如何有效地进行建模的文章
an article talking about how to effectively make modeling on the end-to-end throughput of mesh networks.
- 2022-03-23 14:03:32下载
- 积分:1
-
C++并行测试程序源代码,还不错,适合高级用户…
c++并口测试程序源码,还不错,适于初学者参考。-c++ parallel test program source code, but also good, suitable for advanced users.
- 2023-08-24 20:10:04下载
- 积分:1