Magnetometer
This module collects the measurements from the magnetometer in your device. It outputs a general value that is based on the amount of all the three other values, plus a separate x-, y- and z-value.
With this you can make music using a magnet. Warning: You might need to recalibrate the compass of your device after manipulating it with a magnet.
Ports:
magnitude:
A general magnitude value computed from the magnitude of all three magnetometer values.
Range: 0.0 to 1.0
x:
The x value of the magnetometer sensor.
Range: -1.0 to 1.0
y:
The y value of the magnetometer sensor.
Range: -1.0 to 1.0
z:
The z value of the magnetometer sensor.
Range: -1.0 to 1.0