adafruit-circuitpython-mlx90393 2.1.2__py3-none-any.whl → 2.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {adafruit_circuitpython_mlx90393-2.1.2.dist-info → adafruit_circuitpython_mlx90393-2.1.4.dist-info}/METADATA +1 -1
- adafruit_circuitpython_mlx90393-2.1.4.dist-info/RECORD +6 -0
- {adafruit_circuitpython_mlx90393-2.1.2.dist-info → adafruit_circuitpython_mlx90393-2.1.4.dist-info}/WHEEL +1 -1
- adafruit_mlx90393.py +4 -7
- adafruit_circuitpython_mlx90393-2.1.2.dist-info/RECORD +0 -6
- {adafruit_circuitpython_mlx90393-2.1.2.dist-info → adafruit_circuitpython_mlx90393-2.1.4.dist-info}/LICENSE +0 -0
- {adafruit_circuitpython_mlx90393-2.1.2.dist-info → adafruit_circuitpython_mlx90393-2.1.4.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,6 @@
|
|
1
|
+
adafruit_mlx90393.py,sha256=Eq_i3wioTBwNsQfr-Z-aeSkW5mvAx7GEWdXgK1c6VIc,18281
|
2
|
+
adafruit_circuitpython_mlx90393-2.1.4.dist-info/LICENSE,sha256=WeIXVkYWpdba3Boxrax8dB0s5qWg9GTxl7c5uTZQDUI,1105
|
3
|
+
adafruit_circuitpython_mlx90393-2.1.4.dist-info/METADATA,sha256=ES262PDC-d8JY8vvSwB8Wxp1Pvl9g9Fda3RJ2ksSbdw,4085
|
4
|
+
adafruit_circuitpython_mlx90393-2.1.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
5
|
+
adafruit_circuitpython_mlx90393-2.1.4.dist-info/top_level.txt,sha256=5RT_YbHfXFo2Y6zVvz8MXsZLIHm1OxrjFJrzRaCTdNY,18
|
6
|
+
adafruit_circuitpython_mlx90393-2.1.4.dist-info/RECORD,,
|
adafruit_mlx90393.py
CHANGED
@@ -41,7 +41,7 @@ try:
|
|
41
41
|
except ImportError:
|
42
42
|
pass
|
43
43
|
|
44
|
-
__version__ = "2.1.
|
44
|
+
__version__ = "2.1.4"
|
45
45
|
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MLX90393.git"
|
46
46
|
|
47
47
|
_CMD_SB = const(0b00010000) # Start burst mode
|
@@ -406,15 +406,12 @@ class MLX90393: # pylint: disable=too-many-instance-attributes
|
|
406
406
|
|
407
407
|
:param int reg: The register to read
|
408
408
|
"""
|
409
|
-
#
|
409
|
+
# Read register
|
410
410
|
payload = bytes([_CMD_RR, reg << 2])
|
411
|
-
with self.i2c_device as i2c:
|
412
|
-
i2c.write(payload)
|
413
|
-
|
414
|
-
# Read the response (+1 to account for the mandatory status byte!)
|
415
411
|
data = bytearray(3)
|
416
412
|
with self.i2c_device as i2c:
|
417
|
-
i2c.
|
413
|
+
i2c.write_then_readinto(payload, data)
|
414
|
+
|
418
415
|
# Unpack data (status byte, big-endian 16-bit register value)
|
419
416
|
self._status_last, val = struct.unpack(">BH", data)
|
420
417
|
if self._debug:
|
@@ -1,6 +0,0 @@
|
|
1
|
-
adafruit_mlx90393.py,sha256=zxCH6UDMo9r_4QBuECzvNMJ63qtcaWRKkyI8vI0yvY8,18430
|
2
|
-
adafruit_circuitpython_mlx90393-2.1.2.dist-info/LICENSE,sha256=WeIXVkYWpdba3Boxrax8dB0s5qWg9GTxl7c5uTZQDUI,1105
|
3
|
-
adafruit_circuitpython_mlx90393-2.1.2.dist-info/METADATA,sha256=0Vxyngqb5FMiz5zzgVRrQND25J13KJIEPKh-q-gtWrU,4085
|
4
|
-
adafruit_circuitpython_mlx90393-2.1.2.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
5
|
-
adafruit_circuitpython_mlx90393-2.1.2.dist-info/top_level.txt,sha256=5RT_YbHfXFo2Y6zVvz8MXsZLIHm1OxrjFJrzRaCTdNY,18
|
6
|
-
adafruit_circuitpython_mlx90393-2.1.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|