Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: QMC5883L.cpp
- Revision:
- 2:146db5bc0fee
- Parent:
- 1:40133ee060bb
--- a/QMC5883L.cpp Sat Jan 26 22:38:25 2019 +0000
+++ b/QMC5883L.cpp Sun Jan 27 19:01:44 2019 +0000
@@ -84,7 +84,7 @@
eLSB = QMC5883L_r(TEMP_LSB); // očitaj LSB temp
eMSB = QMC5883L_r(TEMP_MSB); // očitaj MSB temp
temp_data = ((eMSB<<8) | eLSB);
- Temp_temp = (temp_data /100.0)+ 40; // relativna temp + offset
+ Temp_temp = (temp_data /100.0)+ 30; // relativna temp + offset
return Temp_temp;
}