adxl345.h

This commit is contained in:
YcChan
2017-01-01 13:40:10 +08:00
committed by GitHub
parent 1a6677c44b
commit eb7579ec02

8
adxl345.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef __adxl345_H
#define __adxl345_H
#define ACC_SCALE 0.0039
void adxl345_init(void);
void adxl345_get_data(s16 *ax, s16 *ay, s16 *az);
#endif