Created
January 30, 2018 03:05
-
-
Save esmarr58/fc560eb615d88567be535d81108c7280 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef MAINWINDOW_H | |
#define MAINWINDOW_H | |
#include <QMainWindow> | |
#include <QSerialPort> | |
namespace Ui { | |
class MainWindow; | |
} | |
class MainWindow : public QMainWindow | |
{ | |
Q_OBJECT | |
public: | |
explicit MainWindow(QWidget *parent = 0); | |
~MainWindow(); | |
private slots: | |
void on_pushButton_clicked(); | |
void on_pushButton_2_clicked(bool checked); | |
void on_pushButton_3_clicked(); | |
private: | |
Ui::MainWindow *ui; | |
QSerialPort *arduino; | |
static const quint16 arduino_uno_vendor_id = 9025; | |
static const quint16 arduino_UNO = 66; | |
static const quint16 arduino_MEGA = 67; | |
QString arduino_puerto; | |
bool arduino_esta_disponible; | |
void buscaYconectaArduino(); | |
}; | |
#endif // MAINWINDOW_H | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment