First commit

This commit is contained in:
2026-08-25 10:37:57 +08:00
commit b3b8a40f77
1601 changed files with 275999 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef SERIAL_H
#define SERIAL_H
#include <QtGui>
#include "mycom.h"
class serial : public QWidget
{
Q_OBJECT
public:
serial(QWidget *parent = 0);
~serial();
void init_serial( int baudrate, int portNumber,int stopbit );
public slots:
void open_serial();
void close_serial();
void read_serial();
void send_serial(char *buf,int len);
};
#endif // SERIAL_H