📄 unit2.h
字号:
//---------------------------------------------------------------------------
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -