circular gauge update from serial data
Unsolved
Qt in Education
-
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?
@kasra ,
You can use QSerialPort class to receive data.
Qt Documentation : QSerialPort Class
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