fixed only single led working

This commit is contained in:
2020-04-20 00:20:41 +02:00
parent 65700e07d8
commit 2d4c6f33e8
2 changed files with 13 additions and 9 deletions

View File

@@ -10,6 +10,7 @@ class LEDHandler : public QObject
public:
QString cURL = "10.0.0.222";
int cPORT = 21324;
int cLEDNUM = 26;
LEDHandler(QUdpSocket* sock, TS3Functions ts3Functions);
@@ -25,6 +26,8 @@ public slots:
private:
QUdpSocket* mSock;
TS3Functions mTs3Functions;
bool succesful = false;
void sendColor(int R, int G, int B, int W, int t);
};