Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: ADXL345.h
- Revision:
- 2:b96d481934ae
- Parent:
- 1:186b5a33dce3
- Child:
- 3:6cb77747b071
--- a/ADXL345.h Sat Aug 19 08:18:27 2017 +0000
+++ b/ADXL345.h Sat Aug 19 09:42:44 2017 +0000
@@ -406,7 +406,7 @@
/** It gets the device ID
*/
- ADXL345_status_t ADXL345_GetID ( uint8_t* myID );
+ ADXL345_status_t ADXL345_GetID ( char* myID );
/** It gets the range.
*/
@@ -434,27 +434,27 @@
/** It sets the free fall threshold.
*/
- ADXL345_status_t ADXL345_SetFreeFallThreshold ( uint8_t myThreshold );
+ ADXL345_status_t ADXL345_SetFreeFallThreshold ( char myThreshold );
/** It sets the free fall duration.
*/
- ADXL345_status_t ADXL345_SetFreeFallDuration ( uint8_t myDuration );
+ ADXL345_status_t ADXL345_SetFreeFallDuration ( char myDuration );
/** It sets the tap threshold.
*/
- ADXL345_status_t ADXL345_SetTapThreshold ( uint8_t myThreshold );
+ ADXL345_status_t ADXL345_SetTapThreshold ( char myThreshold );
/** It sets the tap duration.
*/
- ADXL345_status_t ADXL345_SetTapDuration ( uint8_t myDuration );
+ ADXL345_status_t ADXL345_SetTapDuration ( char myDuration );
/** It sets the douvble tap latency.
*/
- ADXL345_status_t ADXL345_SetDoubleTapLatency ( uint8_t myLatency );
+ ADXL345_status_t ADXL345_SetDoubleTapLatency ( char myLatency );
/** It sets the double tap window.
*/
- ADXL345_status_t ADXL345_SetDoubleTapWindow ( uint8_t myWindow );
+ ADXL345_status_t ADXL345_SetDoubleTapWindow ( char myWindow );
/** It sets the tap axis.
*/
@@ -466,7 +466,7 @@
/** It sets the activity threshold.
*/
- ADXL345_status_t ADXL345_SetActivityThreshold ( uint8_t myActivityThreshold );
+ ADXL345_status_t ADXL345_SetActivityThreshold ( char myActivityThreshold );
/** It sets the activity AC or DC coupled.
*/
@@ -478,15 +478,15 @@
/** It reads the ACT_TAP status register.
*/
- ADXL345_status_t ADXL345_Read_ACT_TAP_STATUS ( uint8_t* myACT_TAP_STATUS );
+ ADXL345_status_t ADXL345_Read_ACT_TAP_STATUS ( char* myACT_TAP_STATUS );
/** It sets the inactivity threshold.
*/
- ADXL345_status_t ADXL345_SetInactivityThreshold ( uint8_t myInactivityThreshold );
+ ADXL345_status_t ADXL345_SetInactivityThreshold ( char myInactivityThreshold );
/** It sets the inactivity time.
*/
- ADXL345_status_t ADXL345_SetTimeInactivity ( uint8_t myTimeInactivity );
+ ADXL345_status_t ADXL345_SetTimeInactivity ( char myTimeInactivity );
/** It sets the inactivity AC or DC coupled.
*/
@@ -506,7 +506,7 @@
/** It reads the interrupt sources.
*/
- ADXL345_status_t ADXL345_ReadInterruptSource ( uint8_t* myIntSource );
+ ADXL345_status_t ADXL345_ReadInterruptSource ( char* myIntSource );
private: