And, if you put a fridge magnet near the sensor, you will see large spike! Be careful though, the sensor has maximum limits of magnetic field strength it can be
exposed to without damage.
Resources and Going Further
This is a nifty little sensor for orientation, but you may want to go beyond the simple compass that this library allows. You can use an accelerometer in conjunction
with this device to create a tilt-compensated compass. SparkFun has a variety of accelerometers available, including the ADXL345.
To get you started in the right direction, here are a few application notes that go into more detail about this:
Need help?
Do you have a question about the MAG3110 and is the answer not in the manual?
Questions and answers