Treehopper C++ API
Accelerometer.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "Libraries/Pollable.h"
5 #include <tuple>
6 #include <Libraries/Types.h>
7 
8 using namespace Treehopper::Libraries;
9 
10 namespace Treehopper {
11  namespace Libraries {
12  namespace Sensors {
13  namespace Inertial {
14  class LIBRARIES_API Accelerometer : virtual public Pollable {
15  public:
16  vector3_t &accelerometer();
17 
18  protected:
19  vector3_t _accelerometer;
20  };
21  }
22  }
23  }
24 }
Definition: Dm632.h:9
#define LIBRARIES_API
Definition: Treehopper.Libraries.h:17
Definition: AdcPin.h:3
Definition: Pollable.h:8