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.
Fork of LIS3DH by
Diff: LIS3DH.h
- Revision:
- 12:897840b70796
- Parent:
- 9:c32d2b25d4c2
--- a/LIS3DH.h Sat Jun 09 09:35:25 2018 +0000 +++ b/LIS3DH.h Tue Jun 19 03:54:22 2018 +0000 @@ -1,4 +1,8 @@ /* + * 2018: Eric Tsai's Modifications of Kenji Arai's original LIS3DH library + * modified <initialize> and added threshold <setAct> call + * + * * mbed library program * LIS3DH MEMS motion sensor: 3-axis "nano" accelerometer, made by STMicroelectronics * http://www.st-japan.co.jp/web/jp/catalog/sense_power/FM89/SC444/PF250725 @@ -223,7 +227,7 @@ * @return none */ void write_reg(uint8_t addr, uint8_t data); - uint8_t setAct(uint8_t addr); + uint8_t setAct(uint8_t addr); //tsai: added protected: void initialize(uint8_t, uint8_t, uint8_t);