CHENGQI YANG / MGC3130

Dependencies:   BufferedArray

Dependents:   NucleoMGC3130 i2c_master

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ApproachDetection.h Source File

ApproachDetection.h

00001 #ifndef UK_AC_HERTS_SMARTLAB_MGC3130_ApproachDetection
00002 #define UK_AC_HERTS_SMARTLAB_MGC3130_AirWheelDetection
00003 
00004 #include "Parameter.h"
00005 
00006 class ApproachDetection: public Parameter
00007 {
00008 public:
00009     ApproachDetection(bool enable) {
00010         setRuntimeParameterID(0x97);
00011         if (enable)
00012             setArgument0(0x01);
00013         else
00014             setArgument0(0x00);
00015         setArgument1(0x01);
00016     }
00017 };
00018 
00019 #endif