aboutsummaryrefslogtreecommitdiff
path: root/gyro.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-03-10 16:59:58 +0100
committerLars-Dominik Braun <lars@6xq.net>2014-04-22 16:51:03 +0200
commit8493da1edbc863cd8525bebca4ab86ef1888c232 (patch)
treecb7e00d93d22bc91de96b74e957b5e0b8c55ecd2 /gyro.h
parent778e4889e1897c022906c56d0764fe163e24355b (diff)
downloadhourglass-8493da1edbc863cd8525bebca4ab86ef1888c232.tar.gz
hourglass-8493da1edbc863cd8525bebca4ab86ef1888c232.tar.bz2
hourglass-8493da1edbc863cd8525bebca4ab86ef1888c232.zip
gyro: Calculate angle
Diffstat (limited to 'gyro.h')
-rw-r--r--gyro.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gyro.h b/gyro.h
index ac3550e..3a8ad10 100644
--- a/gyro.h
+++ b/gyro.h
@@ -6,8 +6,10 @@
void gyroInit ();
void gyroStart ();
-bool gyroRead ();
-volatile const int16_t *gyroGet ();
+bool gyroProcess ();
+void gyroResetAngle ();
+const int16_t *gyroGetAngle ();
+volatile const int16_t *gyroGetRaw ();
#endif /* GYROSCOPE_H */