Code source
Diff: LSM303D.cpp
- Revision:
- 3:46c46520bc4e
- Parent:
- 2:8cd0c3c11b48
--- a/LSM303D.cpp Mon Feb 08 17:57:22 2016 +0000 +++ b/LSM303D.cpp Wed Jun 24 16:32:57 2020 +0000 @@ -38,7 +38,7 @@ #include "LSM303D.h" -const int addr_acc_mag = 0x3A; +const int addr_acc_mag = 0x3A; //0x1E;//1D; //3A; //modif addr i2c enum REG_ADDRS { /* --- Mag --- */ @@ -84,7 +84,7 @@ _LSM303(sda, scl) { char reg_v; - _LSM303.frequency(200000); + _LSM303.frequency(100000); reg_v = 0;