aboutsummaryrefslogtreecommitdiff
path: root/gyro.h
blob: dbed4368caec309a06f107faf2b4639bdd32b49c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef GYROSCOPE_H
#define GYROSCOPE_H

#include <stdbool.h>
#include <stdint.h>

void gyroInit ();
void gyroStart ();
void gyroStop ();
bool gyroProcess ();
void gyroResetAccum ();
int32_t gyroGetZAccum ();
int16_t gyroGetZRaw ();
int16_t gyroGetZTicks ();
void gyroResetZTicks ();

#endif /* GYROSCOPE_H */