The MGC3130 is the world’s first electrical-field (E-field) based three-dimensional (3D) tracking and gesture controller

Dependencies:   BufferedArray

Dependents:   NucleoMGC3130 i2c_master

Revision:
1:621c4e9238ef
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RuntimeParameter/ApproachDetection.h	Wed Oct 07 20:43:39 2015 +0000
@@ -0,0 +1,19 @@
+#ifndef UK_AC_HERTS_SMARTLAB_MGC3130_ApproachDetection
+#define UK_AC_HERTS_SMARTLAB_MGC3130_AirWheelDetection
+
+#include "Parameter.h"
+
+class ApproachDetection: public Parameter
+{
+public:
+    ApproachDetection(bool enable) {
+        setRuntimeParameterID(0x97);
+        if (enable)
+            setArgument0(0x01);
+        else
+            setArgument0(0x00);
+        setArgument1(0x01);
+    }
+};
+
+#endif
\ No newline at end of file