Strange Data in Serial Monitor

Hi all.
I have downloaded the 3.2.1 version of ardupilot code and compiled in the modified Arduino IDE for Ardupilot.
However, when I try to execute a code from sensors library, AP_Compass_test, for exemple, I get strange data on the Serial Monitor.

Any help is appreciated.

I don’t know if this is a problem of baud rate, but i have tried all the possible rates, and none of them solved the problem.

If that is the data stream from the com port then you are looking at MavLink data stream which is not readable as text.
This is why the terminal function was removed from recent GCS’s.

Try running a GCS and see if it is interpreted correctly.

Thanks for the help! I can get the correct data now!