XYZ platform including 3 motors and 8 magnetometers (LIS3MDL).

Fork of XYZ_sensor_Platform by Shih-Ho Hsieh

Revision:
11:f34acfd40dcd
Parent:
8:679a5428d584
Child:
12:e2b7e030193c
--- a/xyz_sensor_platform.h	Tue Dec 12 08:45:49 2017 +0000
+++ b/xyz_sensor_platform.h	Fri Jan 05 06:51:33 2018 +0000
@@ -84,7 +84,7 @@
     void z_end();
     Motor *motorX, *motorY, *motorZ;
     float x,y,z;
-    bool is_x_end, is_y_end, is_z_end;
+    bool is_x_end, is_y_end, is_z_end, is_x_zero, is_y_zero, is_z_zero;
     InterruptIn xZero, xEnd, yZero, yEnd, zZero, zEnd;
     AltIMU_10_v5 *sensor;
     GyroSensor *gyroscope;