succes

Dependencies:   microbit

sample.h

Committer:
mk1
Date:
2017-02-11
Revision:
0:c15430f1895f

File content as of revision 0:c15430f1895f:

#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