LPS331 library

Dependents:   mbed_DEMO

See https://developer.mbed.org/users/yasuyuki/notebook/LPS331/

Revision:
1:f70e671b008f
Parent:
0:ef4f624dc3ec
--- a/LPS331.h	Sat Oct 04 12:02:25 2014 +0000
+++ b/LPS331.h	Fri Oct 10 04:37:48 2014 +0000
@@ -44,12 +44,14 @@
     void put(unsigned char a, unsigned char b);
     void get(unsigned char a);
     long value();
+    short temperature();
 
 protected:
     
     I2C _i2c;
 
     DWORD_VAL press;
+    WORD_VAL temp;
     char buf[2];
 
 };