Skeleton for magnetometer library