Arduino Function: NaxisMotion.readMagX

Description

This function is used to return the x-axis of the magnetometer data

Syntax

float readMagX(void)

Returns

 float: X-axis magnetometer data in \B5T


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc