f2812test.~h
来自「读dspf2812的内部程序」· ~H 代码 · 共 50 行
~H
50 行
//---------------------------------------------------------------------------
#ifndef F2812TESTH
#define F2812TESTH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include "PortDriver.h"
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TButton *Button1;
TEdit *Edit1;
TLabel *Label1;
TLabel *Label2;
TEdit *Edit2;
TButton *Button3;
TEdit *Edit3;
TLabel *Label3;
TCheckBox *CheckBox1;
TEdit *Edit4;
TEdit *Edit5;
TButton *Button2;
TTimer *Timer1;
void __fastcall Button1Click(TObject *Sender);
void __fastcall Button2edit(TObject *Sender);
void __fastcall Button3Click(TObject *Sender);
void __fastcall CheckBox1Click(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall Timer1Timer(TObject *Sender);
private: // User declarations
PortDriver *ioport;
//char readport;
// char writeport;
unsigned int readport;
unsigned int writeport;
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?