code: def _read24(self, register):
          
          ret = 0.0
          for b in self._read_register(register, 3):
              ret *= 256.0
              ret += float(b & 0xFF)
          return ret
docs: Read an unsigned 24-bit value as a floating point and return it.