Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Solved : How to use QSerialPort class for writing and reading data on comport/serial port.

    General and Desktop
    2
    4
    1357
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      erShashi last edited by

      Hi. Can someone please tell or share any example code for reading and writing data on serial port using QSerialPort class?? Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Are you searching something like the examples from the "documentation":http://qt-project.org/doc/qt-5.1/qtserialport/examples.html ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • E
          erShashi last edited by

          Yes .. Thanks for the link. Right now for understanding and using QSerialPort class, I think it will be fair enough for me. Will come up again if found any doubt..
          Thanks a lot..

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            You're welcome !

            Please update the thread's title to solved it this answers your question

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • First post
              Last post