diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2012-01-21 18:05:48 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2012-01-21 18:05:48 +0100 |
commit | 6a6342ac8b9919c116e10b5c4d315ecc88b1233f (patch) | |
tree | e3734b1d0dfa89638969a44916fb10eaba95c1b3 /ahrs.h | |
parent | 030e5cdd712f6d7ed527743c8c54c5ced86d75b1 (diff) |
Stripped down codebase for USB implementation.
Diffstat (limited to 'ahrs.h')
-rw-r--r-- | ahrs.h | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -1,25 +0,0 @@ -#ifndef AHRS_H -#define AHRS_H - -#include "itg3200.h" -#include "bma150.h" - -class AHRS { - public: - ITG3200 gyro; - BMA150 accel; - - AHRS(I2C& i2c) : gyro(i2c), accel(i2c) {} - - void init() { - gyro.init(); - accel.init(); - } - - void update() { - gyro.update(); - accel.update(); - } -}; - -#endif |