Library for MMA7660FC Accelerometer device
Dependents: TestCode_MMA7660FC 3D_Accelerometer_Tester RTOS-aap-board-modules embed_Grove_3-Axis_Digital_Accelerometer ... more
Diff: MMA7660FC.h
- Revision:
- 5:d2f90c0be13f
- Parent:
- 4:6e931d9bbf4b
- Child:
- 6:10aa804dee97
diff -r 6e931d9bbf4b -r d2f90c0be13f MMA7660FC.h --- a/MMA7660FC.h Wed Jul 04 20:20:27 2012 +0000 +++ b/MMA7660FC.h Thu Jul 05 17:47:12 2012 +0000 @@ -86,19 +86,19 @@ * * @returns The value of x acceleration */ - float read_x(); + int read_x(); /** Read the y register of the MMA7660FC * * @returns The value of y acceleration */ - float read_y(); + int read_y(); /** Read the z register of the MMA7660FC * * @returns The value of z acceleration */ - float read_z(); + int read_z(); /** Read from specified MMA7660FC register *