work nice now
Fork of LSM303DLHC by
Diff: LSM303DLHC.h
- Revision:
- 4:612f7d5a822d
- Parent:
- 3:4d9465e7e10e
- Child:
- 7:ddd9717cdb71
diff -r 4d9465e7e10e -r 612f7d5a822d LSM303DLHC.h --- a/LSM303DLHC.h Wed Feb 20 23:52:53 2013 +0000 +++ b/LSM303DLHC.h Thu Feb 21 00:20:17 2013 +0000 @@ -1,3 +1,6 @@ + +#ifndef __LSM303DLHC_H +#define __LSM303DLHC_H #include "mbed.h" @@ -31,3 +34,5 @@ bool read_reg(int addr_i2c,int addr_reg, char *v); bool recv(char sad, char sub, char *buf, int length); }; + +#endif \ No newline at end of file