Ian Koh
Ian Koh

Reputation: 1

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

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!

Upvotes: -1

Views: 79

Answers (1)

Rah
Rah

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

Related Questions