STMicroelectronics LPS331 I2C Library.
Dependents: LPS331_HelloWorld mbed_vfd_thermometer lon-lof
Diff: LPS331_I2C.h
- Revision:
- 1:b7d3d6e82049
- Parent:
- 0:3fd57444bc65
--- a/LPS331_I2C.h Sun Oct 20 15:22:55 2013 +0000 +++ b/LPS331_I2C.h Mon Oct 21 16:39:58 2013 +0000 @@ -6,6 +6,7 @@ * Copyright(c) -2013 unos@NYAMFG, * Released under the MIT License: http://mbed.org/license/mit * + * revision 1.1 22-Oct-2013 Add multibyte read, Change temperature and pressure reading method. * revision 1.0 20-Oct-2013 1st release, Does not support interrupts. */ @@ -75,6 +76,7 @@ void _write(char subaddress, char data); char _read(char subaddress); + void _read_multibyte(char startsubaddress, char* data, char count); private: I2C _i2c;