Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
circular gauge update from serial data
kasra last edited by
I made a circular gauge in qt qml. I want to show speed data from GPS madoule, GPS send data to serial port and I have data in serial, I need to write a code in Qt that update data from serial port and show in gauge in qt. can anyone help me?
You can use QSerialPort class to receive data.
When the serial port receives new data, the signal
readyRead()is emitted it.
I think that if it binding to QML. you can handle this data at a circular gauge in qt qml.
Please also refer to QSerialPort sample.
Qt Documentation : Terminal Example