Code source
Revision 3:46c46520bc4e, committed 2020-06-24
- Comitter:
- annaelle
- Date:
- Wed Jun 24 16:32:57 2020 +0000
- Parent:
- 2:8cd0c3c11b48
- Commit message:
- Projet
Changed in this revision
LSM303D.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;