From 9ff573e9fe4c40ffb342ce2b215042c39b518aeb Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Fri, 7 Apr 2017 09:17:10 +0930 Subject: Merged source into one .cpp and .h. Added serial communication from the Arduino to the host computer. Added ping/pong system to maintain a connection, once 3 failed tries have occured, the connection is force closed, this restores the ui to a desired state. A ping is sent every 60 seconds and a response is required within one second. Some debug UI additions and code is still present, to be removed. --- qt/RGBController/RGBController.pro | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'qt/RGBController/RGBController.pro') diff --git a/qt/RGBController/RGBController.pro b/qt/RGBController/RGBController.pro index d075466..2496348 100755 --- a/qt/RGBController/RGBController.pro +++ b/qt/RGBController/RGBController.pro @@ -13,10 +13,9 @@ TEMPLATE = app SOURCES += main.cpp\ - controllerwindow.cpp \ - serial_communication.cpp + controllerwindow.cpp -HEADERS += controllerwindow.h \ - serial_communication.h + +HEADERS += controllerwindow.h FORMS += controllerwindow.ui -- cgit v1.2.3