Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Why I am getting the garbage value while reading the data serially through arduino?
Mohit Tripathi last edited by
This post is deleted!
@Mohit-Tripathi Do you really expect to get an answer posting just this piece of code and without providing any other information (not even what you expect to read vs. what you actually read)?
What is arduino? Why do you use char* buffer instead of QByteArray? You don't use QSerialPort, right?
And what do you think this code is doing
delete dataBuffer; Dialog::updateTemperature(dataBuffer);
You delete the buffer and then try to use it?!