Advertisement
teplofizik

accel.h (SPI)

Jun 1st, 2013
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. //
  2. // accel.h
  3. // Акселерометр
  4. //
  5.  
  6. #include <stdint.h>
  7. #include <stdbool.h>
  8.  
  9. #ifndef _ACCEL_H
  10. #define _ACCEL_H
  11.  
  12.     void acc_Init(void);
  13.     void acc_Main(void);
  14.  
  15.     int8_t acc_GetX(void);
  16.     int8_t acc_GetY(void);
  17.     int8_t acc_GetZ(void);
  18.  
  19. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement