Skip to content

Commit 6a7d4d1

Browse files
committed
envia os comandos para a porta COM em UPPERCASE
1 parent 0f107f2 commit 6a7d4d1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pyqt/MiniCNCController/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class App(QtWidgets.QMainWindow, gui.Ui_MainWindow):
1111

1212
pyqt_version = QtCore.PYQT_VERSION_STR
1313
autor = "dfso"
14-
versao = "1.0.b / agosto-2018"
14+
versao = "1.1.a / novembro-2021"
1515
github = "https://github.com/dfso"
1616
icons_web = "https://icons8.com"
1717

@@ -82,10 +82,10 @@ def enviar_cmd(self):
8282
"""Envia comandos para o dispositivo conectado.
8383
"""
8484
self.write_thread = threads_r_w.WriteThread(
85-
self.dispositivo, self.line_cmd.text())
85+
self.dispositivo, self.line_cmd.text().upper())
8686
self.write_thread.start()
8787
self.text_log.append("<b><font color = green>Comando: "
88-
+ self.line_cmd.text() + "</font></b>")
88+
+ self.line_cmd.text().upper() + "</font></b>")
8989

9090
def reload_portas(self):
9191
"""Atualiza a lista de dispositivos detectados.

0 commit comments

Comments
 (0)