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