test
Revision 3:718fe9014fa4, committed 2022-08-03
- Comitter:
- kosukesuzuki
- Date:
- Wed Aug 03 08:49:14 2022 +0000
- Parent:
- 2:bbc9ad18fd3e
- Commit message:
- test()
Changed in this revision
HMC5883L.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HMC5883L.cpp Wed Aug 05 13:16:12 2015 +0000 +++ b/HMC5883L.cpp Wed Aug 03 08:49:14 2022 +0000 @@ -31,7 +31,7 @@ #include "HMC5883L.h" /* NUCLEO F411RE board */ -static I2C i2c(D14, D15); // setup i2c (SDA,SCL) +static I2C i2c(PB_7, PB_6); // setup i2c (SDA,SCL) static float Gauss_LSB_XY = 1100.0F; // Varies with gain static float Gauss_LSB_Z = 980.0F; // Varies with gain