Read the magnetic field measured by the Magnetometer along the x, y and z axis
[
returns
the magnetic field measured by the Magnetometer along the x, y, and
the z axes with timestamp. The ‘raw’ argument is to
specify that the output should be a uncalibrated raw data.magFieldRaw
,Ts
]=
readMagneticField(mysh
,raw
)
The full scale range for the Magnetometer is +/- 4 gauss.
Sense HAT IMU sensor axis information is shown below.
clearLEDMatrix
| displayImage
| displayMessage
| raspi
| readAcceleration
| readAngularVelocity
| readHumidity
| readJoystick
| readMagneticField
| readPressure
| readTemperature
| sensehat
| writePixel