The MGC3130 is the world’s first electrical-field (E-field) based three-dimensional (3D) tracking and gesture controller
Dependents: NucleoMGC3130 i2c_master
Diff: RuntimeParameter/AirWheelDetection.h
- Revision:
- 1:621c4e9238ef
diff -r 92f17b057d6b -r 621c4e9238ef RuntimeParameter/AirWheelDetection.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RuntimeParameter/AirWheelDetection.h Wed Oct 07 20:43:39 2015 +0000 @@ -0,0 +1,19 @@ +#ifndef UK_AC_HERTS_SMARTLAB_MGC3130_AirWheelDetection +#define UK_AC_HERTS_SMARTLAB_MGC3130_AirWheelDetection + +#include "Parameter.h" + +class AirWheelDetection: public Parameter +{ +public: + AirWheelDetection(bool enable) { + setRuntimeParameterID(0x90); + if (enable) + setArgument0(0x20); + else + setArgument0(0x00); + setArgument1(0x20); + } +}; + +#endif \ No newline at end of file