Terminal Example. Send bytes over serial port and bind this on key.



  • Hello guys, im new to programming and c++. I need to make a program, which send commands to COM port, then read from com port. I started my learning from Qt Terminal Example.
    I need to send array of bytes to COM port. What should i add in code of Terminal Example and how to bind this on button press.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What do you mean by array of bytes ? One dimension array ? Two ? More ?

    As for the GUI part, you really should take the time to read Qt's getting started documentation especially since you are new to programming and C++.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.