unit2.h

来自「并口的EPP模式模拟IIC接口」· C头文件 代码 · 共 42 行

H
42
字号
//---------------------------------------------------------------------------

#ifndef Unit2H
#define Unit2H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "I2C_Sim.h"
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TMyForm : public TForm
{
__published:	// IDE-managed Components
        TLabel *TxtAddress;
        TLabel *TxtData;
        TShape *LED;
        TLabel *Label_LedIndex;
        TLabel *SCL_Pin;
        TLabel *SDA_Pin;
        TEdit *Address;
        TEdit *Data;
        TButton *Executive;
        TRadioButton *RadioRead;
        TRadioButton *RadioWrite;
        TButton *Process;
        TEdit *SCLPIN;
        TEdit *SDAPIN;
        TTabControl *TabControl1;
        void __fastcall ExecutiveClick(TObject *Sender);
private:	// User declarations
       I2C_Sim my_bus;	// User declarations
public:		// User declarations
        __fastcall TMyForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TMyForm *MyForm;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?