summaryrefslogtreecommitdiff
path: root/arduino/Belt.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2016-04-09 10:56:10 +0200
committerOlivier Gayot <duskcoder@gmail.com>2016-04-09 10:56:10 +0200
commite75fb7c47b640ea329984d95fc9f4b2d7cd3efe4 (patch)
tree934466a0df6bd76828ede2ccd8e4115657409723 /arduino/Belt.h
parent9aae804a259aca17e7ca48b2dd18e12dde2c21fd (diff)
because arduino is sooooooo frustrating
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'arduino/Belt.h')
-rw-r--r--arduino/Belt.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/arduino/Belt.h b/arduino/Belt.h
deleted file mode 100644
index 8a5cf6d..0000000
--- a/arduino/Belt.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#ifndef _BELT_H
-#define _BELT_H
-
-class Belt {
-public:
- Belt();
-
- void read_pressure_top();
- void read_pressure_bottom();
- void read_flexion();
- void read_angle_x();
- void read_angle_y();
- void read_angle_z();
-
- int get_pressure_top() const { return _pressure_top; };
- int get_pressure_bottom() const { return _pressure_bottom; };
- int get_flexion() const { return _flexion; };
- int get_angle_x() const { return _angle_x; };
- int get_angle_y() const { return _angle_y; };
- int get_angle_z() const { return _angle_z; };
-
-protected:
- int _pressure_bottom;
- int _pressure_top;
- int _flexion;
- int _angle_x;
- int _angle_y;
- int _angle_z;
-
-private:
- int _pin_pressure_top;
- int _pin_pressure_bottom;
- int _pin_flexion;
- int _pin_gyro_x;
- int _pin_gyro_y;
- int _pin_gyro_z;
-};
-
-#endif /* ! _BELT_H */