GetMagneticField()


m() = GetMagneticField()

This function returns an array which contains magnetic field X, Y and Z axis. All values are in micro-Tesla (uT) and measure the ambient magnetic field in the X, Y and Z axis.

Dim m(0)

m() = GetMagneticField()

m(0) = x-axis.

m(1) = y-axis.

m(2) = z-axis.







Become a Patron