?? unit2.h
字號(hào):
//---------------------------------------------------------------------------
#ifndef Unit2H
#define Unit2H
//---------------------------------------------------------------------------
#include <Classes.hpp>
//---------------------------------------------------------------------------
class TOutputThread : public TThread
{
private:
protected:
void __fastcall Execute();
public:
__fastcall TOutputThread(bool CreateSuspended);
void __fastcall GetPulseHigh();
void __fastcall Output();
};
//---------------------------------------------------------------------------
void MySleep(DWORD dwMicrosecond)
{
LARGE_INTEGER frequence, privious, current, interval;
QueryPerformanceFrequency(&frequence);
interval.QuadPart = frequence.QuadPart * dwMicrosecond / 1000000;
QueryPerformanceCounter( &privious );
current = privious;
while( current.QuadPart - privious.QuadPart < interval.QuadPart )
QueryPerformanceCounter( ¤t );
}
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -