include "mainwindow.h" include "ui_mainwindow.h" include<structled.h></structled.h> include<qmessagebox></qmessagebox> include<qserialport></qserialport> include<qdebug></qdebug> include<qtimer></qtimer> include <stdlib.h></stdlib.h> include <stdio.h></stdio.h> include <strings.h></strings.h> sCrossFrame_t LEDFrame; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); LEDFrame.xValRad=0; LEDFrame.yValRad=0; } MainWindow::~MainWindow() { serial->close();...