mirror of
https://github.com/vale981/Taevitas
synced 2025-03-05 09:31:42 -05:00
A first Try on Serial.
This commit is contained in:
parent
5a967c884b
commit
0cec373626
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "serialcommunicator.h"
|
||||
#include "QDebug"
|
||||
|
||||
SerialCommunicator::SerialCommunicator( QObject * parent ) : QObject( parent ), port( this ), lastBuff { 0 } {
|
||||
SerialCommunicator::SerialCommunicator( QObject * parent ) : QObject( parent ), port( this ), lastBuff { -1 } {
|
||||
connect( &port, &QSerialPort::readyRead, this, &SerialCommunicator::handleRead );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue