RasPi/CopterController/DSM2.h

19 lines
217 B
C
Raw Normal View History

#ifndef DSM2_H
#define DSM2_H
2015-03-10 20:02:35 -06:00
class DSM2
{
public:
2015-03-16 18:06:01 -06:00
DSM2();
2015-03-10 20:02:35 -06:00
void update();
int values[6];
private:
2015-03-10 20:02:35 -06:00
int fd;
int valueMask;
2015-03-10 20:02:35 -06:00
char thisByte, lastByte;
int data[8];
char raw[16];
};
#endif