From 12bddeda97b5d428f4ef9006180051c14b01aecc Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Wed, 15 Feb 2017 12:17:06 +1030 Subject: Fade with individual speed control now works, can fade each color at its own speed. Serial communication revamped to allow extra commands in both the front and backend. --- qt/RGBController/serial_communication.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt/RGBController/serial_communication.h') diff --git a/qt/RGBController/serial_communication.h b/qt/RGBController/serial_communication.h index ffc9b82..3499028 100644 --- a/qt/RGBController/serial_communication.h +++ b/qt/RGBController/serial_communication.h @@ -4,6 +4,7 @@ /* includes */ #include #include +#include class serial_communication @@ -14,6 +15,7 @@ class serial_communication bool serial_connect(QString port); bool serial_disconnect(); void rgb_change(int r, int g, int b); + void send(QString com); /* variables */ QString port_name; QSerialPort serial; -- cgit v1.2.3