succes
Diff: sample.h
- Revision:
- 0:c15430f1895f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sample.h Sat Feb 11 15:55:34 2017 +0000 @@ -0,0 +1,18 @@ +#ifndef _SAMPLE_H +#define _SAMPLE_H + +const float pi = 3.1415926; + +struct Sample +{ + public: + Sample(float gx = 0, float ay = 0, float az = 0); + double GyroRate(); + double AccelerometerAngle(); + + float _gx; + float _ay; + float _az; +}; + +#endif \ No newline at end of file