Treehopper C++ API
PressureSensor.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "Libraries/Pollable.h"
5 
6 using namespace Treehopper::Libraries;
7 
8 namespace Treehopper {
9  namespace Libraries {
10  namespace Sensors {
11  namespace Pressure {
12  class LIBRARIES_API PressureSensor : virtual public Pollable {
13  public:
14  double bar();
15 
16  double atm();
17 
18  double psi();
19 
20  double pascal();
21 
22  protected:
23  double _pascal;
24  };
25  }
26  }
27  }
28 }
Definition: Dm632.h:9
#define LIBRARIES_API
Definition: Treehopper.Libraries.h:17
Definition: AdcPin.h:3
Definition: Pollable.h:8