Can i see temperature measurements for MLX90614 without using serial monitor?

65 Views Asked by At

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

Code

nvm I fixed it!

1

There are 1 best solutions below

1
Rah On

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));