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:
- 1:d4d569952436
- Parent:
- 0:5d5aac272642
- Child:
- 4:64dac49da306
--- a/LIS3DH.h Fri Aug 29 13:27:20 2014 +0000
+++ b/LIS3DH.h Sun Sep 07 01:26:25 2014 +0000
@@ -7,7 +7,7 @@
* http://www.page.sannet.ne.jp/kenjia/index.html
* http://mbed.org/users/kenjiArai/
* Created: July 14th, 2014
- * Revised: August 29th, 2014
+ * Revised: September 7th, 2014
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
@@ -181,6 +181,12 @@
*/
uint8_t data_ready();
+ /** Set I2C clock frequency
+ * @param freq.
+ * @return none
+ */
+ void frequency(int hz);
+
/** Read register (general purpose)
* @param register's address
* @return register data
