- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is there any way to program the accel thresholds through the SDK?
Thanks,
Robert
Solved! Go to Solution.
- Labels:
-
WICED Sense
- Tags:
- wiced sense i2c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Robert,
Have you taken a look at the accelerometer driver ("lis3dsh_driver.c") in the wiced_sense app's driver folder?
In the driver, there is a function called 'SetThrsSM' which takes an argument of type 'THRS_t'. This argument type is unique to this function. The type-definition of THRS_t and the function declaration of SetThrsSM can be found in the header file ("lis3dsh_driver.c").
Function Declaration in Header File:
Type Definition:
Jacob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Robert,
Have you taken a look at the accelerometer driver ("lis3dsh_driver.c") in the wiced_sense app's driver folder?
In the driver, there is a function called 'SetThrsSM' which takes an argument of type 'THRS_t'. This argument type is unique to this function. The type-definition of THRS_t and the function declaration of SetThrsSM can be found in the header file ("lis3dsh_driver.c").
Function Declaration in Header File:
Type Definition:
Jacob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, thanks!