Arduino Function: NaxisMotion.readMagZ

Description

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

Syntax

float readMagZ(void)

Returns

 float: Z-axis magnetometer data in \B5T


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