Have you read the tutorial again?
Look at how you were acquiring the data, you are emptying the serial buffer and leaving the function without having received the end marker but you still send the whole buffer and the null char had not been added…
Have you read the tutorial again?
Look at how you were acquiring the data, you are emptying the serial buffer and leaving the function without having received the end marker but you still send the whole buffer and the null char had not been added…