TeensyNanoExoCode
Loading...
Searching...
No Matches
WaistBarometer.h
Go to the documentation of this file.
1#ifndef WAISTBAROMETER_H
2#define WAISTBAROMETER_H
3
4#if defined(ARDUINO_ARDUINO_NANO33BLE)
5
14#include "Arduino.h"
15
16typedef enum
17{
18 unit_PSI = 0,
19 unit_MBAR = 1,
20 unit_kPa = 2,
21 unit_Pa = 3,
22 pressure_unit_LENGTH
23} pressure_unit_t;
24
25
26class WaistBarometer
27{
28 public:
33 WaistBarometer(pressure_unit_t desired_unit = unit_Pa);
34
40 float getPressure();
41
42 private:
43
48 pressure_unit_t _unit;
49
50
51};
52
53#endif // ARDUINO_ARDUINO_NANO33BLE
54#endif // WAISTBAROMETER_H