1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef GYROSCOPE_H #define GYROSCOPE_H #include <stdbool.h> #include <stdint.h> void gyroInit (); void gyroStart (); bool gyroProcess (); void gyroResetAccum (); int32_t gyroGetZAccum (); int16_t gyroGetZRaw (); int8_t gyroGetZTicks (); #endif /* GYROSCOPE_H */