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

RuntimeParameter/TouchDetection.h

Committer:
yangcq88517
Date:
2015-11-14
Revision:
8:de7934ec7ea2
Parent:
1:621c4e9238ef

File content as of revision 8:de7934ec7ea2:

#ifndef UK_AC_HERTS_SMARTLAB_MGC3130_TouchDetection
#define UK_AC_HERTS_SMARTLAB_MGC3130_TouchDetection

#include "Parameter.h"

class TouchDetection: public Parameter
{
public:
    TouchDetection(bool enable) {
        setRuntimeParameterID(0x97);
        if (enable)
            setArgument0(0x08);
        else
            setArgument0(0x00);
        setArgument1(0x08);
    }
};

#endif