It's used as aid for inertial measurement system
Dependents: M-G354PDH0_serial_echo_2 M-G354PDH0_serial_echo_1 M-G354PDH0_serial_Lib
Diff: QMC5883L.cpp
- Revision:
- 8:ba5655a87eea
- Parent:
- 7:4136b94b5cb9
diff -r 4136b94b5cb9 -r ba5655a87eea QMC5883L.cpp --- a/QMC5883L.cpp Mon Nov 12 10:24:29 2018 +0000 +++ b/QMC5883L.cpp Tue Aug 27 03:26:41 2019 +0000 @@ -88,6 +88,7 @@ return((HiByte<<8) | LoByte); } + int16_t QMC5883L::getMagYvalue() { uint8_t LoByte, HiByte;