Why I am getting the garbage value while reading the data serially through arduino?
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?!