diff options
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | arduino/rgb/.rgb.ino.swo | bin | 0 -> 16384 bytes | |||
-rwxr-xr-x | qt/RGBController/RGBController | bin | 93104 -> 93104 bytes | |||
-rwxr-xr-x | qt/RGBController/controllerwindow.cpp | 12 | ||||
-rw-r--r-- | qt/RGBController/controllerwindow.o | bin | 98264 -> 101504 bytes |
5 files changed, 11 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..01eef74 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*~ +*.swp +*.swo +*.o diff --git a/arduino/rgb/.rgb.ino.swo b/arduino/rgb/.rgb.ino.swo Binary files differnew file mode 100644 index 0000000..259a52b --- /dev/null +++ b/arduino/rgb/.rgb.ino.swo diff --git a/qt/RGBController/RGBController b/qt/RGBController/RGBController Binary files differindex ddb96b0..8607dc8 100755 --- a/qt/RGBController/RGBController +++ b/qt/RGBController/RGBController diff --git a/qt/RGBController/controllerwindow.cpp b/qt/RGBController/controllerwindow.cpp index 9cf41f2..cf53f82 100755 --- a/qt/RGBController/controllerwindow.cpp +++ b/qt/RGBController/controllerwindow.cpp @@ -433,25 +433,27 @@ void controllerWindow::on_rfrom_valueChanged(int arg1) void controllerWindow::on_rto_valueChanged(int arg1) { - + portf.send("rt=" + QString::number(arg1)); } void controllerWindow::on_gfrom_valueChanged(int arg1) { - + portf.send("gf=" + QString::number(arg1)); + ui->g_slider->setValue(arg1); } void controllerWindow::on_gto_valueChanged(int arg1) { - +portf.send("gt=" + QString::number(arg1)); } void controllerWindow::on_bfrom_valueChanged(int arg1) { - + portf.send("bf=" + QString::number(arg1)); + ui->b_slider->setValue(arg1); } void controllerWindow::on_bto_valueChanged(int arg1) { - + portf.send("bt=" + QString::number(arg1)); } diff --git a/qt/RGBController/controllerwindow.o b/qt/RGBController/controllerwindow.o Binary files differindex 3ccf97f..6c6c914 100644 --- a/qt/RGBController/controllerwindow.o +++ b/qt/RGBController/controllerwindow.o |