aboutsummaryrefslogtreecommitdiff
path: root/client/esp/main.cpp
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-11 18:34:48 +0200
committerlonkaars <loek@pipeframe.xyz>2022-10-11 18:34:48 +0200
commitacb25f74631597b2b24dca2c16da9dbb9ed2ecb1 (patch)
tree3eb6151054551a1586eeb1dbd67cda23dc2e47b2 /client/esp/main.cpp
parent1d385074e33f831e88499603c46e25170b770ada (diff)
parent8c1381da90da1d8c972ee6065dfe5d0ee5e5f1e1 (diff)
Merge branch 'QT_ESP' of https://github.com/NielsCoding/avans-whether-station into esp
Diffstat (limited to 'client/esp/main.cpp')
-rw-r--r--client/esp/main.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/client/esp/main.cpp b/client/esp/main.cpp
new file mode 100644
index 0000000..753b946
--- /dev/null
+++ b/client/esp/main.cpp
@@ -0,0 +1,29 @@
+#include <QCoreApplication>
+#include "mytcpsocket.h"
+#include "timetest.h"
+
+int main(int argc, char *argv[])
+{
+ QCoreApplication a(argc, argv);
+// qint16 startTime= 46;
+TimeTest time;
+
+
+//while(1){
+
+//
+// qint16 minuut = time.myfunction();
+
+// if(minuut == startTime)
+// {
+// qDebug() << "Tijd: " << minuut;
+// startTime+=1;
+
+// }
+//}
+MyTcpSocket s;
+s.doConnect();
+
+
+ return a.exec();
+}