blob: 3aba602004e795d1f6d112aa813135eb98ca5916 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef ACCEL_H
#define ACCEL_H
#include <stdbool.h>
#include <stdint.h>
typedef enum {HORIZON_NONE, HORIZON_POS, HORIZON_NEG} horizon;
void accelInit ();
void accelStart ();
bool accelProcess ();
const int8_t accelGetZ ();
const uint8_t accelGetShakeCount ();
const horizon accelGetHorizon ();
#endif /* ACCEL_H */
|