From 6a6342ac8b9919c116e10b5c4d315ecc88b1233f Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 21 Jan 2012 18:05:48 +0100 Subject: Stripped down codebase for USB implementation. --- ahrs.h | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 ahrs.h (limited to 'ahrs.h') diff --git a/ahrs.h b/ahrs.h deleted file mode 100644 index e78ae8d..0000000 --- a/ahrs.h +++ /dev/null @@ -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 -- cgit v1.2.3