We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c09b66 commit 1f4a088Copy full SHA for 1f4a088
Adafruit_MPL115A2/Adafruit_MPL115A2.py
@@ -106,7 +106,7 @@ def readCalibrationData(self):
106
self._mpl115a2_b2 = self._mpl115a2_b2 << 8 | self.i2c.readU8(self.__MPL115A2_REGISTER_B2_COEFF_LSB) # INT16
107
self._mpl115a2_c12 = self.i2c.readS8(self.__MPL115A2_REGISTER_C12_COEFF_MSB) # INT16
108
self._mpl115a2_c12 = self._mpl115a2_c12 << 8 | self.i2c.readU8(self.__MPL115A2_REGISTER_C12_COEFF_LSB) # INT16
109
- #self._mpl115a2_c12 = self._mpl115a2_c12 >> 2
+ self._mpl115a2_c12 = self._mpl115a2_c12 >> 2
110
111
print(self._mpl115a2_a0)
112
self._mpl115a2_a0 /= 8.0
0 commit comments