adafruit-circuitpython-mlx90393 2.1.4__py3-none-any.whl → 2.1.5__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: adafruit-circuitpython-mlx90393
3
- Version: 2.1.4
3
+ Version: 2.1.5
4
4
  Summary: CircuitPython driver for the MLX90393 3-axis magnetometer.
5
5
  Author-email: Adafruit Industries <circuitpython@adafruit.com>
6
6
  License: MIT
@@ -0,0 +1,6 @@
1
+ adafruit_mlx90393.py,sha256=94HFAZMsbNy57SV6Qqu8HqYeUofThg6hT1_PmbHrpzE,18326
2
+ adafruit_circuitpython_mlx90393-2.1.5.dist-info/LICENSE,sha256=WeIXVkYWpdba3Boxrax8dB0s5qWg9GTxl7c5uTZQDUI,1105
3
+ adafruit_circuitpython_mlx90393-2.1.5.dist-info/METADATA,sha256=2nUZH8DTMICjwDfcj6eP-8cg3Pd6fpHpMP9aljAU4Qk,4085
4
+ adafruit_circuitpython_mlx90393-2.1.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
5
+ adafruit_circuitpython_mlx90393-2.1.5.dist-info/top_level.txt,sha256=5RT_YbHfXFo2Y6zVvz8MXsZLIHm1OxrjFJrzRaCTdNY,18
6
+ adafruit_circuitpython_mlx90393-2.1.5.dist-info/RECORD,,
adafruit_mlx90393.py CHANGED
@@ -28,6 +28,7 @@ Implementation Notes
28
28
  https://github.com/adafruit/Adafruit_CircuitPython_Register
29
29
 
30
30
  """
31
+
31
32
  import struct
32
33
  import time
33
34
 
@@ -36,12 +37,13 @@ from micropython import const
36
37
 
37
38
  try:
38
39
  from typing import Tuple
39
- from circuitpython_typing import ReadableBuffer
40
+
40
41
  from busio import I2C
42
+ from circuitpython_typing import ReadableBuffer
41
43
  except ImportError:
42
44
  pass
43
45
 
44
- __version__ = "2.1.4"
46
+ __version__ = "2.1.5"
45
47
  __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MLX90393.git"
46
48
 
47
49
  _CMD_SB = const(0b00010000) # Start burst mode
@@ -443,6 +445,7 @@ class MLX90393: # pylint: disable=too-many-instance-attributes
443
445
  """
444
446
  Performs a software reset of the sensor.
445
447
  """
448
+ self._transceive(bytes([_CMD_EX]))
446
449
  if self._debug:
447
450
  print("Resetting sensor")
448
451
  time.sleep(2)
@@ -1,6 +0,0 @@
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,,