Reputation: 1
Im using arduino UNO with MLX90614 and when i upload it, it seems to run properly but once i open the serial monitor to see the results, the measurements taken from the time i upload till the serial monitor is opened is displayed. but after that, it just throws out a bunch of characters.
I tried to open it immediately after uploading the code but it will just show the characters.
here's what is shown on the serial monitor
nvm I fixed it!
Upvotes: -1
Views: 79
Reputation: 1
I've had that happen with non-strings printing out the serial monitor. Casting them to strings displays them correctly.
With something like this:
float t = 0.0;
Serial.println(String(t));
Upvotes: 0