RasPi/CopterController/DSM2.h

18 lines
199 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[7];
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[7];
};
#endif