int16_t ACCEL_GetX(void) {
    return ACCEL1_GetXmg();
}
Beispiel #2
0
void ACCEL_GetValues(int16_t *x, int16_t *y, int16_t *z) {
  *x = ACCEL1_GetXmg();
  *y = ACCEL1_GetYmg();
  *z = ACCEL1_GetZmg();
}