How to send from pyqt qdial value to arduino serial? How should be my code corrected? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to send from pyqt qdial value to arduino serial? How should be my code corrected?

data=b'' data+=str(dial.value()).encode("utf-8") #ser.write(b'hellr') dial.setNotchesVisible(True) dial.valueChanged.connect(spin.setValue) #ser.write(spin.value()) #dial.valueChanged.connect(ser.write())

8th Jun 2020, 9:32 AM
Zhenis Otarbay
Zhenis Otarbay - avatar
0 Answers