aboutsummaryrefslogtreecommitdiff
path: root/gyroscope.h
diff options
context:
space:
mode:
Diffstat (limited to 'gyroscope.h')
-rw-r--r--gyroscope.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gyroscope.h b/gyroscope.h
new file mode 100644
index 0000000..20ef373
--- /dev/null
+++ b/gyroscope.h
@@ -0,0 +1,13 @@
+#ifndef GYROSCOPE_H
+#define GYROSCOPE_H
+
+#include <stdbool.h>
+#include <stdint.h>
+
+void gyroscopeInit ();
+void gyroscopeStart ();
+bool gyroscopeRead ();
+volatile const int16_t *gyroscopeGet ();
+
+#endif /* GYROSCOPE_H */
+