Refactored a8 codes and added remote testing app a8_remote.

This commit is contained in:
Nffj84
2024-07-02 11:31:12 +03:00
parent c03d477c45
commit b39e58dbc1
499 changed files with 1209 additions and 463 deletions
+24
View File
@@ -0,0 +1,24 @@
#pragma once
#include <QByteArray>
#include <QObject>
#include <QSerialPort>
class SerialPort : public QObject
{
Q_OBJECT
public:
SerialPort();
~SerialPort();
bool openPort();
void closePort();
public slots:
void sendCommand(const QByteArray &command);
QByteArray readResponse();
private:
QSerialPort *mSerialPort;
};