Renamed Release button to motors off
Added flow control
This commit is contained in:
parent
cb32e983ac
commit
5331f73cc0
@ -259,6 +259,8 @@ void MainWindow::serialconnect()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printer.setFlowControl(QSerialPort::HardwareControl);
|
||||||
|
|
||||||
ui->connectBtn->setText("Disconnect");
|
ui->connectBtn->setText("Disconnect");
|
||||||
ui->sendBtn->setDisabled(false);
|
ui->sendBtn->setDisabled(false);
|
||||||
//ui->pauseBtn->setDisabled(false);
|
//ui->pauseBtn->setDisabled(false);
|
||||||
|
|||||||
@ -193,7 +193,7 @@
|
|||||||
<item row="3" column="3" colspan="4">
|
<item row="3" column="3" colspan="4">
|
||||||
<widget class="QPushButton" name="releasebtn">
|
<widget class="QPushButton" name="releasebtn">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Release</string>
|
<string>Motors off</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user